Plot time-Frequency for mp3.

7 views (last 30 days)
sidra Rafique
sidra Rafique on 20 Aug 2018
Answered: Chad Greene on 24 Aug 2018
hi, i need to read audio .mp3 file, which i am doing using below code:
[y,fs] = audioread('A_haunted_1.mp3');
Now i want to create its time-frequency plot. but i couldnt find any method. is there a way to make T-F plot of .mp3 file? if yes then please help me through this. thanks waiting for your response.

Accepted Answer

Chad Greene
Chad Greene on 24 Aug 2018
If you have the signal processing toolbox,
spectrogram(y,'yaxis')

More Answers (0)

Community Treasure Hunt

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

Start Hunting!