why dont u use spectrogram function with 2 seconds window
Spectral analysis using pwelch
1 次查看(过去 30 天)
显示 更早的评论
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spectral Estimation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!