I have a .CSV file having time domain signal data . But I want to plot it in frequency domain. How to do that using MATLAB ?
5 views (last 30 days)
Show older comments
I have a .CSV file having time domain signal data . But I want to plot it in frequency domain. How to do that using MATLAB ?
0 Comments
Answers (1)
Walter Roberson
on 15 Jul 2020
csvread() the file. Then follow the first example in the fft() documentation, as it shows how to construct the plot labels.
You will need to know what the sampling frequency of the signal is.
3 Comments
See Also
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!