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!