tf2ss {control}R Documentation

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

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.

Value

Returns an object of 'ss' class.

See Also

ss2tf tf2zp

Examples

tf2ss(tf(1, c(1,2,1)))

## Not run:   OR 

sys <- tf(1, c(1,2,1))
tf2ss(sys)

## Not run:   OR 

sys2 <- tf2ss(1, c(1,2,1))


[Package control version 0.2.5 Index]