Is there an error in the "Power Spectral Density Estimates Using FFT" article?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Kushagr Gupta
el 19 de Dic. de 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 comentarios
Ver también
Categorías
Más información sobre Spectral Estimation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!