zp2ss: Convert Zero-Pole-Gain Model to State-Space Model

Description Usage Arguments Details Value See Also Examples

Description

zp2ss converts a system represented in zero-pole form to state-space

Usage

1
zp2ss(z,p,k)

Arguments

z

Zero, a vector or single row matrix

p

Pole, a vector or single row matrix

k

Gain, a vector

Details

zp2ss converts a system represented in zero-pole form to state-space by converting from zero-pole to transfer function and from transfer functon to state-space

Another possible usage is: zp2ss(sys)

where sys is an object of zero-pole-gain model.

Value

Returns a list object of 'ss' class.

See Also

ss2zp zp2tf

Examples

1
2
zp2ss(NULL, c(-1,-1), 1)
zp2ss(tf2zp(c(1,1,1), c(1,2,1)))

control documentation built on May 1, 2019, 7:33 p.m.