How to calculate the fourier transform of a signal in form of a time series with given sampling interval?
2 views (last 30 days)
Show older comments
I have a signal in form of a column matrix say [2 4 5.6 7.8 5 9 6.7 3 3 2 1] and the sampling interval is 5 Hz. How can I compute the amplitude spectra of this signal and plot the same from the matlab prompt? As every time i use the fft command it assumes 1 sample per second. Every example I went through on the internet had the signal in the form of a function of time ( time vector was predefined) but here I can't relate my time series as any function of time.
0 Comments
Answers (0)
See Also
Categories
Find more on Frequency Transformations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!