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 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