zp2ss function

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

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

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

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

Returns

Returns a list object of 'ss' class.

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.

Examples

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

See Also

ss2zp zp2tf

  • Maintainer: Ben C. Ubah
  • License: GPL-2
  • Last published: 2017-12-12

Useful links