tf {control} | R Documentation |
Create Transfer function Model.
Description
tf
creates the model for a transfer function
Usage
tf(num, den, Ts = NULL)
Arguments
num |
A numeric vector or matrix (for multivariable systems) |
den |
A numeric vector or matrix (for multivariable systems) |
Ts |
Sample time for discrete time systems |
Details
tf
creates a model object for a transfer function, Where num
is the numerator and den
is the denominator
of the transfer function.
Value
Returns an object of 'tf' class list with a proper transfer function or with warnings when not proper.
See Also
Examples
tf(1, c(1,2,1))
sys1 <- tf(1, c(1,2,1))
sys1$num
sys1$den
## Not run: for single-input multi-output systems (SIMO) each numerator row for one output
num = rbind(c(0,1,1), c(1,0,1))
den = rbind(c(1,3,2))
tf(num, den)
[Package control version 0.2.5 Index]