Categories &

Functions List

Function Reference: zpk

Function File: s = zpk ('s')
Function File: z = zpk ('z', tsam)
Function File: sys = zpk (sys)
Function File: sys = zpk (k, …)
Function File: sys = zpk (z, p, k, …)
Function File: sys = zpk (z, p, k, tsam, …)
Function File: sys = zpk (z, p, k, tsam, …)

Create transfer function model from zero-pole-gain data. This is just a stop-gap compatibility wrapper since zpk models are not yet implemented.

Inputs

sys

LTI model to be converted to transfer function.

z

Cell of vectors containing the zeros for each channel. z{i,j} contains the zeros from input j to output i. In the SISO case, a single vector is accepted as well.

p

Cell of vectors containing the poles for each channel. p{i,j} contains the poles from input j to output i. In the SISO case, a single vector is accepted as well.

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 tsam is not specified, a continuous-time model is assumed.

Optional pairs of properties and values. Type set (tf) for more information.

Outputs

sys

Transfer function model.

See also: tf, ss, dss, frd

Source Code: zpk