1 Introduction to MATLAB's zero' command
The zero command is a simple one.
>> z = zero(sys);
This will return the zeros of the LTI model sys. It doesn't matter if sys is a State Space object, Transfer Function, Zero-Pole-Gain model, or FRD (typically used fo rmeasured data).
Also, if you wish to use the zero command to recreat the system using the zpk command then zero will also return the system gain for SISO systems.
>> [z, gain] = zero(sys);
- This function requires the Control System Toolbox.