
zp2tf
converts the model for a zero-pole-gain system to transfer function representation
zp2tf(z, p, k)
A numeric vector containing zero locations
A numeric vector containing pole locations
A numeric vector for gain
Returns a list object of 'tf' class.
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.
# NOT RUN {
systf <- zp2tf(zpk(NULL, c(-1,-1), 1))
zp2tf(tf2zp(c(2,2,1), c(1,2,1)))
# }
Run the code above in your browser using DataLab