Frequency spectrum after every 2 seconds.

1 次查看(过去 30 天)
I have a .wav file and the sound is for 20 seconds. I want to plot a frequency spectrum for every 2 seconds of the .wav file.
Any solutions?

回答(1 个)

Star Strider
Star Strider 2018-4-20

See the documentation on the Signal Processing Toolbox spectrogram (link) function. It has a variety of arguments you can use that will likely give the result you want.

类别

Help CenterFile Exchange 中查找有关 Spectral Measurements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by