fourier transform info or data
4 次查看(过去 30 天)
显示 更早的评论
Simple question for those that are familiar with fourier transform. how do i do a fourier transform on this data below, ts=time, ft=amplitude.
ts = [-10 -5 -5 5 5 10];
ft = [0 0 1 1 0 0 ];
plot(ts,ft);
0 个评论
采纳的回答
Image Analyst
2013-8-15
Call fft(), but first get rid of duplicate y values for a given x value. Then you should see the sinc function you are expecting.
5 个评论
Image Analyst
2013-8-15
Are you trying to plot the time domain signals? Then you must get rid of the corresponding ts values also.
更多回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!