FFT of time domain data from excel

4 次查看(过去 30 天)
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 in MATLAB.

回答(1 个)

Alan Moses
Alan Moses 2020-8-5
编辑:Alan Moses 2020-8-5
You can refer to readmatrix for reading the data from the CSV file. Using the readmatrix function, data in the CSV file you have mentioned is read into a matrix, where the first column indicates time and the second column indicates amplitude. Please refer to fft for applying fft function and plot the frequency spectrum.

类别

Help CenterFile Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by