Help in understanding the Power Spectral Density estimates using FFT
1 view (last 30 days)
Show older comments
skrowten_hermit
on 9 Oct 2020
Commented: skrowten_hermit
on 9 Oct 2020
psdx(2:end-1) = 2*psdx(2:end-1);
I couldn't quite get why only the indices 2 to last but one is taken i.e, first and last indices are discarded.
It would be great if anyone could help me understand why this is being done.
0 Comments
Accepted Answer
Mathieu NOE
on 9 Oct 2020
hi
the explanation is just above
Zero frequency (DC) and the Nyquist frequency do not occur twice.
thats why the factor 2 on the psdx amplitude does not apply to indice "1" and "end"
More Answers (0)
See Also
Categories
Find more on Parametric Spectral Estimation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!