Categories &

Functions List

Function Reference: 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

sys
Any type of LTI model or a real-valued matrix which is interpreted as continous-time static gain.
"v", "vector"
For SISO models, return z and p directly as column vectors instead of cells containing a single column vector.

Outputs

z
Cell of column vectors containing the zeros for each channel. z{i,j} contains the zeros from input j to output i.
p
Cell of column vectors containing the poles for each channel. p{i,j} contains the poles from input j to output i.
k
Matrix containing the gains for each channel. k(i,j) contains the gain from input j to output i.
tsam
Sampling time in seconds. If sys is a continuous-time model, a zero is returned.

Source Code: zpkdata