tf2ss

tf2ss — transfer to state-space

Calling sequence

sl=tf2ss(h [,tol])  

Parameters

h : rational matrix
tol

: may be the constant rtol or the 2 vector [rtol atol]

rtol :tolerance used when evaluating observability.
atol :absolute tolerance used when evaluating observability.
sl : linear system (syslin list sl=[A,B,C,D(s)])

Description

transfer to state-space conversion:

h=C*(s*eye()-A)^-1*B+D(s)

Examples



s=poly(0,'s');
H=[2/s,(s+1)/(s^2-5)];
Sys=tf2ss(H)
clean(ss2tf(Sys))
 
  

See also

ss2tf, tf2des, des2tf