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.

 采纳的回答

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

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by