how can i plot spectrogram for audio in matlab?

1 次查看(过去 30 天)
i have a matab code for spectrogram of audio and that is given below. " function outputSpectrogram(input) [audio, fs] = audioread('audio8.wav'); audioMono = (audio(:, 1) + audio(:, 2)) / 2; spectrogram(audioMono, 256, [], [], fs, 'yaxis'); title('audio9') end " in that i have to display the spectrogram only upto 1khz and how i will i do that?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Time-Frequency Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by