zpkdata
Function File: [z, p, k, tsam] = zpkdata (sys)
Function File: [z, p, k, tsam] = zpkdata (sys, "v")
Access zero-pole-gain data. sys can also be a real-valued matrix which is then interpreted as continuous-time static gain system.
Inputs
Any type of LTI model or a real-valued matrix which is interpreted as continous-time static gain.
For SISO models, return z and p directly as column vectors instead of cells containing a single column vector.
Outputs
Cell of column vectors containing the zeros for each channel. z{i,j} contains the zeros from input j to output i.
Cell of column vectors containing the poles for each channel. p{i,j} contains the poles from input j to output i.
Matrix containing the gains for each channel. k(i,j) contains the gain from input j to output i.
Sampling time in seconds. If sys is a continuous-time model, a zero is returned.
Source Code: zpkdata