How to do fft of a csv file to plot amplitude spectrum

조회 수: 3 (최근 30일)
Parvathy
Parvathy 2024년 3월 5일
답변: Star Strider 2024년 3월 5일
I have a csv files with 2 columns. 1st column has time and second column has the value (These are the outut values of a VCO that is not constant) . Around 2006 rows are there in total. I want to plot the amplitude spectrum of these values. For that I have to do the FFT of these values. What is the code for doing this?

답변 (1개)

Star Strider
Star Strider 2024년 3월 5일
See the documentation for both fft and nufft. One of those should apply to your problem.
Another optioon is the pspectrum function.

카테고리

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