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 CenterFile Exchange에서 Spectral Measurements에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by