MATLAB: Is the ‘envelope’ function included in R2015b

enveloper2015b

Hi, I found the 'envelope' function described in http://www.mathworks.com/help/signal/ref/envelope.html very useful for my project, the document says this function is included in R2015b, but I can't run the example code with this function (the chirp function also not working with my R2015b). By the way, I am using an academic license. Can anyone make clear how can I use this function? Thank you!

Best Answer

I have this function in my installation
>> which envelope
C:\Program Files\MATLAB\R2015b\toolbox\signal\signal\envelope.m
Path suggests it is part of the Signal Processing Toolbox. Can you run "ver" to verify you have it installed? It should look like
ver
----------------------------------------------------------------------------------------------------
MATLAB Version: 8.6.0.267246 (R2015b)
MATLAB License Number: xxxxx
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.6 (R2015b)
...
Signal Processing Toolbox Version 7.1 (R2015b)