How to code for this equation in Matlab

f(x)=2*e^jwt

1 件のコメント

James Tursa
James Tursa 2020 年 2 月 10 日
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?

サインインしてコメントする。

 採用された回答

James Tursa
James Tursa 2020 年 2 月 10 日

0 投票

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.

その他の回答 (1 件)

zeeshan shafiq
zeeshan shafiq 2020 年 2 月 10 日

0 投票

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