spectrogram error in matlab

12 vues (au cours des 30 derniers jours)
Brandon Adams
Brandon Adams le 6 Avr 2015
Commenté : Brandon Adams le 6 Avr 2015
Hello, I am trying to plot a spectrogram using MATLAB at home but I am getting the following error:
Undefined function 'spectrogram' for input arguments of type 'double'.
any thoughts?
  1 commentaire
Star Strider
Star Strider le 6 Avr 2015
You need the Signal Processing Toolbox. I believe it was called specgram in earlier releases, so search on that if you have the Toolbox.
Type ver in the Command Window to see if you have the Signal Processing Toolbox. It will be listed if you have it.

Connectez-vous pour commenter.

Réponse acceptée

Image Analyst
Image Analyst le 6 Avr 2015
Use ver to see if you have the Signal Processing Toolbox. If you don't contact the sales department.
>> ver
------------------------------------------------------------------------
MATLAB Version: 8.5.0.197613 (R2015a)
MATLAB License Number: ******
Operating System: Microsoft Windows 7 Enterprise Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------
MATLAB Version 8.5 (R2015a)
Signal Processing Toolbox Version 7.0 (R2015a)
If you have it, "which" should show this:
>> which spectrogram
C:\Program Files\MATLAB\R2015a\toolbox\signal\signal\spectrogram.m
  1 commentaire
Brandon Adams
Brandon Adams le 6 Avr 2015
fantastic, thanks for 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