How to make a spectrogram

7 vues (au cours des 30 derniers jours)
Brittany Williams
Brittany Williams le 18 Mar 2019
Modifié(e) : madhan ravi le 18 Mar 2019
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 commentaires
Adam
Adam le 18 Mar 2019
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 le 18 Mar 2019
Great! Thank you :-)

Connectez-vous pour commenter.

Réponse acceptée

KALYAN ACHARJYA
KALYAN ACHARJYA le 18 Mar 2019
Modifié(e) : madhan ravi le 18 Mar 2019
[signal,fs]=wavread('audio_file.wav');
find the psd of the psd_signal, see documentation
plot(psd_signal);
  1 commentaire
Brittany Williams
Brittany Williams le 18 Mar 2019
thank you, this is a great help!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Time-Frequency Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by