Frequency spectrum after every 2 seconds.

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?

Answers (1)

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.

Asked:

MAX
on 20 Apr 2018

Answered:

on 20 Apr 2018

Community Treasure Hunt

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

Start Hunting!