How to make a spectrogram

7 ビュー (過去 30 日間)
Brittany Williams
Brittany Williams 2019 年 3 月 18 日
編集済み: madhan ravi 2019 年 3 月 18 日
Hello, I am a MATLAB beginner and would like to make a spectrogram from a sound file but don’t know where to start. Is someone able to give me instructions, beginning with where on my computer my sound file should be saved so that MATLAB can access it?
Thank you :-)
  2 件のコメント
Adam
Adam 2019 年 3 月 18 日
If you have the signal processing toolbox then
doc spectrogram
will give you a spectrogram once you have loaded in your data.
Brittany Williams
Brittany Williams 2019 年 3 月 18 日
Great! Thank you :-)

サインインしてコメントする。

採用された回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 3 月 18 日
編集済み: madhan ravi 2019 年 3 月 18 日
[signal,fs]=wavread('audio_file.wav');
find the psd of the psd_signal, see documentation
plot(psd_signal);
  1 件のコメント
Brittany Williams
Brittany Williams 2019 年 3 月 18 日
thank you, this is a great help!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTime-Frequency Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by