spectrogram error in matlab

조회 수: 6 (최근 30일)
Brandon Adams
Brandon Adams 2015년 4월 6일
댓글: Brandon Adams 2015년 4월 6일
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
Star Strider
Star Strider 2015년 4월 6일
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.

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2015년 4월 6일
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
Brandon Adams
Brandon Adams 2015년 4월 6일
fantastic, thanks for 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