zp2ss {control}R Documentation

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

Description

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

Usage

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

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


[Package control version 0.2.5 Index]