Why is the output of power spectrum this shape?

1 回表示 (過去 30 日間)
Mitch Hezel
Mitch Hezel 2019 年 11 月 14 日
回答済み: the cyclist 2019 年 11 月 14 日
I have a signal with 390,000 points sampled at 1kHz, called sig. Then I use the pspectrum command:
output = pspectrum(sig, 1000, 'spectrogram','TimeResolution',1);
size(output)
the size of the output is 1024x1609. How is the number 1024 computed? Since the Tres is one second and I have 390sec of data, shouldn't the first dimension be 390?

回答 (1 件)

the cyclist
the cyclist 2019 年 11 月 14 日
I expect that the answer to your question is embedded in the Spectrum Computation section of the documentation for pspectrum.

カテゴリ

Help Center および File ExchangeTime-Frequency Analysis についてさらに検索

タグ

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by