How can I extract the first 2 seconds of data from a 1 minute .wav file and then asked to fragment it into 200 segment of 10 ms of each? Then I have to estimate psd using the pwelch function and store the result as matrix, and plot the spectrogram using the imagesc.

1 commentaire

Waleed ElGrawani
Waleed ElGrawani le 27 Sep 2019
why dont u use spectrogram function with 2 seconds window

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by