MATLAB: Which Toolbox is phase() in

functiontoolboxesundefined

I have been using the trial version of matlab for the past month, however I recently bought the student version and while running my code I got the error
Undefined function or variable 'phase'.
Here are the following toolboxes I have installed (see after running "ver" command)
MATLAB Version 9.4 (R2018a)
Simulink Version 9.1 (R2018a)
Control System Toolbox Version 10.4 (R2018a)
DSP System Toolbox Version 9.6 (R2018a)
Image Processing Toolbox Version 10.2 (R2018a)
Instrument Control Toolbox Version 3.13 (R2018a)
Optimization Toolbox Version 8.1 (R2018a)
Signal Processing Toolbox Version 8.0 (R2018a)
Simulink Control Design Version 5.1 (R2018a)
Statistics and Machine Learning Toolbox Version 11.3 (R2018a)
Symbolic Math Toolbox Version 8.1 (R2018a)
Which toolbox do I need to get for the phase() function to work?
Thanks

Best Answer

phase() as a routine by itself is part of the System Identification Toolbox, in the "obsolete" category.
phase() is also a method of the newer iddata() class from the System Identification Toolbox.
But what you probably want is angle() followed by unwrap(), which is part of basic MATLAB.