Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how to do this?

1 vue (au cours des 30 derniers jours)
Sneha
Sneha le 18 Août 2014
Clôturé : MATLAB Answer Bot le 20 Août 2021
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.

Réponses (1)

Honglei Chen
Honglei Chen le 18 Août 2014
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)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by