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?
Best Answer