Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

how to do this?

조회 수: 2 (최근 30일)
Sneha
Sneha 2014년 8월 18일
마감: MATLAB Answer Bot 2021년 8월 20일
I need to plot spectral response of input signal which has nearly 1 lakh samples. so need to break signal into parts of 4000 samples and apply hanning window to each frame then take its fft. then take avg of all the spectram plot to get final spectrum.

답변 (1개)

Honglei Chen
Honglei Chen 2014년 8월 18일
10,000 samples are not very long, most computer should be able to handle it, you can use pwelch function directly to do this, e.g.,
pwelch(randn(1e5,1),hann(4000),0)

Community Treasure Hunt

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

Start Hunting!

Translated by