Help in understanding the Power Spectral Density estimates using FFT

1 回表示 (過去 30 日間)
skrowten_hermit
skrowten_hermit 2020 年 10 月 9 日
コメント済み: skrowten_hermit 2020 年 10 月 9 日
I came across this article in documentation which has this particular line:
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.

採用された回答

Mathieu NOE
Mathieu NOE 2020 年 10 月 9 日
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"

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeParametric Spectral Estimation についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by