Clear Filters
Clear Filters

Frequency spectrum after every 2 seconds.

1 view (last 30 days)
MAX
MAX on 20 Apr 2018
Answered: Star Strider on 20 Apr 2018
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)

Star Strider
Star Strider on 20 Apr 2018

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.

Community Treasure Hunt

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

Start Hunting!