Why does MATLAB r2016a not recognize "cheby1" as a function?

1 次查看(过去 30 天)
I wrote a code implementing a Chebyshev filter which worked fine in my previous version of MATLAB r2013a. I recently had to update to r2016a and the "cheby1" function is no longer recognized. Why is this the case?

采纳的回答

Stephen23
Stephen23 2016-7-12
编辑:Stephen23 2016-7-12
The function cheby1 is part of the Signal Processing Toolbox. Do you have this toolbox installed, and a valid license for it ?
To check, run this command in your command window, and tell us exactly what it prints:
ver
  2 个评论
Jacob Mendelson
Jacob Mendelson 2016-7-12
编辑:Stephen23 2016-7-22
Thanks for the quick reply, here is the result.
MATLAB Version: 9.0.0.341360 (R2016a)
MATLAB License Number: ••••••
Operating System: Microsoft Windows 10 Enterprise Version 10.0 (Build 10586)
Java Version: Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Walter Roberson
Walter Roberson 2016-7-22
It would have mentioned the Signal Processing Toolbox if you had that installed.

请先登录,再进行评论。

更多回答(1 个)

ilhem ouerghui
ilhem ouerghui 2016-11-24
plz I have the same problem; how to know if the signal processing toolbox is installed in my matlab version? I am using matlab r2016b.
  1 个评论
Walter Roberson
Walter Roberson 2016-11-24
>> ver('signal')
----------------------------------------------------------------------------------------------------
MATLAB Version: 9.1.0.441655 (R2016b)
MATLAB License Number: *****
Operating System: Mac OS X Version: 10.11.6 Build: 15G1108
Java Version: Java 1.7.0_75-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
----------------------------------------------------------------------------------------------------
Signal Processing Toolbox Version 7.3 (R2016b)
>> which cheby1
/Applications/MATLAB_R2016b.app/toolbox/signal/signal/cheby1.m

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by