Effacer les filtres
Effacer les filtres

Is this MATLAB example wrong? - Dividing the FFT by the signal length

22 vues (au cours des 30 derniers jours)
azzendix
azzendix le 28 Mai 2017
Someone in this link claim that
the MATLAB example is actually wrong in dividing the fft
by the signal length in the time domain (which is L)
The right scaling needed to adhere to Parseval's theorem would be
dividing the Fourier transform by the sampling frequency.
Is it correct? Should I divide the result from FFT by sampling frequency instead of signal length?
Here is the Matlab example of fft function: https://www.mathworks.com/help/matlab/ref/fft.html

Réponse acceptée

Star Strider
Star Strider le 28 Mai 2017
The example is correct. The Fourier transform is a sum-of-sines (and cosines), so to normalise the coefficients, divide by the integration time or length of the summation. The division normalises for the total energy in the signal, so that the coefficients of a long (assumed periodic) signal have the same values of a shorter version of the same signal.
See the Wikipedia article on Fourier analysis (link) in the section on the Discrete Fourier transform (DFT) (link) for a full discussion.

Plus de réponses (0)

Catégories

En savoir plus sur Fourier Analysis and Filtering dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by