zp2tf function

Zero-pole-gain model conversion to Transfer function model

Zero-pole-gain model conversion to Transfer function model

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

zp2tf(z, p, k)

Arguments

  • z: A numeric vector containing zero locations
  • p: A numeric vector containing pole locations
  • k: A numeric vector for gain

Returns

Returns a list object of 'tf' class.

Details

zp2tf converts a model object for a zero-pole-gain system to a transfer function model

Another possible usage is: zp2tf(sys)

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

Examples

systf <- zp2tf(zpk(NULL, c(-1,-1), 1)) zp2tf(tf2zp(c(2,2,1), c(1,2,1)))

See Also

zp2ss tf2zp

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

Useful links