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 ?

10 次查看(过去 30 天)
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 ?

回答(1 个)

Walter Roberson
Walter Roberson 2020-7-15
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 个评论
Yogesh Nadarge
Yogesh Nadarge 2020-7-28
Hi,
I am attaching my .csv file which is having time data (in microseconds)in first column & amplitude data in second column. Can anybody help me to plot a frequency spectrum of this data. Your help will be much appreciated as I am new to FFT.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Spectral Measurements 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by