フィルターのクリア

Plot the magnitude and argument of the Fourier transformed function in frequency domain.

1 回表示 (過去 30 日間)
Joy Odigbo
Joy Odigbo 2021 年 3 月 4 日
回答済み: Sindhu Karri 2021 年 3 月 9 日
I am not sure how to plot the magnitude and argument of the code I have so far:
>> t=0:20;
>> n=1;
>> sig=1;
>> f=exp((-(t-n).^2)/2).*sin(n.*t);
>> plot(t,f);
>> tn=length(t);
>> fft(f,tn);
>> z=fft(f,tn);
>> abs(z);
>> angle(z);
How should I plot this?

回答 (1 件)

Sindhu Karri
Sindhu Karri 2021 年 3 月 9 日

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by