Plot time-Frequency for mp3.

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

If you have the signal processing toolbox,
spectrogram(y,'yaxis')

More Answers (0)

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!