Filter löschen
Filter löschen

How to code for this equation in Matlab

2 Ansichten (letzte 30 Tage)
zeeshan shafiq
zeeshan shafiq am 10 Feb. 2020
Beantwortet: zeeshan shafiq am 10 Feb. 2020
f(x)=2*e^jwt
  1 Kommentar
James Tursa
James Tursa am 10 Feb. 2020
You have a function of x on the left hand side, but there is not x on the right hand side. What is your intention?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

James Tursa
James Tursa am 10 Feb. 2020
Assuming that f(x) is really supposed to be f(t):
f = @(t)exp(j*w*t);
But, you will need to have w defined prior to this.

Weitere Antworten (1)

zeeshan shafiq
zeeshan shafiq am 10 Feb. 2020
Thanks James,
Got it

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by