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?

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeAudio Processing Algorithm Design についてさらに検索

質問済み:

2018 年 10 月 20 日

編集済み:

2018 年 10 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by