How do I do FFT for small amount of points?
1 次查看(过去 30 天)
显示 更早的评论
I have a small amount of data points X=[8 7 2 4 5 1] that I want to perform FFT for in order to find the trig functions that compose this repeating pattern. Is there an easy way to code this? I've seen a bunch of code that works for continuous samples of waves but I want to downsize it.
0 个评论
回答(2 个)
Joseph Schmidt
2016-12-10
1 个评论
Walter Roberson
2016-12-10
See the first example in the fft documentation as that shows how to label the x axis with frequency
另请参阅
类别
在 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!