Is there an error in the "Power Spectral Density Estimates Using FFT" article?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
In the article "Power Spectral Density Estimates Using FFT" found at https://www.mathworks.com/help/signal/ug/power-spectral-density-estimates-using-fft.html, should the line that says: 'psdx = (1/(Fs*N)) * abs(xdft).^2;' instead say: 'psdx = 1/Fs*N * abs(xdft).^2;' ? This would make it consistent with the "Power Spectum Estimate" block found inside the "doc_phasenoise" Simulink model that is opened by typing "doc_phasenoise" at the MATLAB command line. (See http://www.mathworks.com/help/releases/R2016a/comm/ug/rf-impairments.html )
0 Kommentare
Antworten (1)
Kushagr Gupta
am 19 Dez. 2016
I understand that the question is regarding whether the variable 'N' should be in the numerator or the denominator of the power spectral density calculation.
The equation (4) in this link explains the relation between PSD and FFT, which points out that N is in the denominator.
Also, the model 'doc_phasenoise' contains N in the denominator inside the "spectral averaging" subsystem.
Hence, I believe it is right to say:
psdx = (1/(Fs*N)) * abs(xdft).^2;
2 Kommentare
Siehe auch
Kategorien
Mehr zu Spectral Estimation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!