Plot the magnitude and argument of the Fourier transformed function in frequency domain.
1 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Sindhu Karri
2021-3-9
Hope below discussion link helps you
Refer to below link for alternate method of analysis
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!