how can i plot spectrogram for audio in matlab?

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?

Antworten (0)

Kategorien

Mehr zu Audio Processing Algorithm Design finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 20 Okt. 2018

Bearbeitet:

am 20 Okt. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by