finding harmonic amplitudes of a sinewave

I have a sine wave with frequency of 'wn', how can I get the amplitudes of its harmonics i.e amplitude at '2*wn', '3*wn' ... I tried using 'fft' function in matlab, if fft does that then why the sumation of all harmonics from 'fft' does not equal to the max amplitude of actual signal?

Categorie

Scopri di più su Programming in Centro assistenza e File Exchange

Richiesto:

il 1 Ott 2020

Risposto:

il 1 Ott 2020

Community Treasure Hunt

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

Start Hunting!

Translated by