how can i plot spectrogram for audio in matlab?

11 views (last 30 days)
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?

Answers (0)

Categories

Find more on Audio Processing Algorithm Design 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!