tf2zp function

Transfer function model conversion to Zero-Pole-Gain model.

Transfer function model conversion to Zero-Pole-Gain model.

tf2zp converts the model for a transfer function to zero-pole-gain representation

tf2zp(num, den)

Arguments

  • num: A numeric vector containing the coefficients of the
  • den: A numeric vector containing the coefficients of the

Returns

Returns a list object of 'zpk' class.

Details

tf2zp converts a model object for a transfer function to a zero-pole model, Where num is the numerator and den is the denominator of the transfer function and sys is a transfer function object

Another possible call is: tf2zp(sys)

where sys is an object of transfer-function model.

Examples

syszp1 <- tf2zp(c(1,1), c(1,2,1)) syszp1 syszp2 <- tf2zp(c(2,2,1), c(1,2,1)) syszp2 unclass(syszp2) # to see list of the zeros,poles and gain as vectors tf2zp(zp2tf(c(-1,-1), c(-1,-2), 5))

See Also

tf2ss zp2tf

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

Useful links