tf2zp {control} | R Documentation |
Transfer function model conversion to Zero-Pole-Gain model.
Description
tf2zp
converts the model for a transfer function to zero-pole-gain representation
Usage
tf2zp(num, den)
Arguments
num |
A numeric vector containing the coefficients of the |
den |
A numeric vector containing the coefficients of the |
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.
Value
Returns a list object of 'zpk' class.
See Also
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))
[Package control version 0.2.5 Index]