tf2ss: Transfer function model conversion to State-space model.
Description
tf2ss converts the model for a transfer function to state-space representation
Usage
tf2ss(num, den)
Arguments
num
A numeric vector containing the coefficients of the
den
A numeric vector containing the coefficients of the
Value
Returns an object of 'ss' class.
Details
tf2ss converts a model object for a transfer function to a state-space 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 tf2ss(sys) where sys is object of transfer-function model.
# NOT RUN {tf2ss(tf(1, c(1,2,1)))
# }# NOT RUN { OR
# }# NOT RUN {sys <- tf(1, c(1,2,1))
tf2ss(sys)
# }# NOT RUN { OR
# }# NOT RUN {sys2 <- tf2ss(1, c(1,2,1))
# }