Categories &

Functions List

Function Reference: @lti/zpkdata

Function File: [z, p, k, tsam] = zpkdata (sys)
Function File: [z, p, k, tsam] = zpkdata (sys, "v")

Access zero-pole-gain data.

Inputs

sys

Any type of LTI model.

"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: @lti/zpkdata