I have time signal x obtained from an experiment in MATLAB workspace. I need the signal plot in frequency domain using FFT for finding the amplitude of fundamental, second and third harmonics. I need MATLAB code.

3 views (last 30 days)
I have time signal x obtained from an experiment in MATLAB workspace. I need the signal plot in frequency domain using FFT for finding the amplitude of fundamental, second and third harmonics. I need MATLAB code.

Answers (1)

Star Strider
Star Strider on 16 May 2016
All the code you need is between to first two plot images in the R2015a documentation for fft.

Categories

Find more on Fourier Analysis and Filtering 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!