tf2ss: Transfer function model conversion to State-space model.

Description Usage Arguments Details Value See Also Examples

View source: R/tf2ss.R

Description

tf2ss converts the model for a transfer function to state-space representation

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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))

benubah/control documentation built on May 10, 2020, 1:38 a.m.