ss2ts(1)

NAME
ss2ss - state-space to state-space conversion, feedback, injection

CALLING SEQUENCE
[Sl1,right,left]=ss2ss(Sl,T, [F, [G]])

PARAMETERS

Sl  : linear system (syslin list) in state-space form

T   : square (non-singular) matrix

Sl1, right, left
    : linear systems (syslin lists) in state-space form

F   : real matrix (state feedback gain)

G   : real matrix (output injection gain)

DESCRIPTION
Returns the linear system Sl1=[A1,B1,C1,D1] where A1=inv(T)*A*T, B1=inv(T)*B, C1=C*T, D1=D.

Optional parameters F and G are state feedback and output injection respectively.

For example, Sl1=ss2ss(Sl,T,F) returns Sl1=[A1,B1,C1,D1] with A1=inv(T)*(A+B*F)*T; B1=inv(T)*B; C1=(C+D*F)*T; D1=D;

If F is given as input then right is a non singular linear system such that Sl1=Sl*right.

Sl1*inv(right) is a factorization of Sl.

Idem for left: if F and G are given, Sl1=left*Sl*right.

EXAMPLE
Sl=ssrand(2,2,5); trzeros(Sl)       // zeros are invariant:
Sl1=ss2ss(Sl,rand(5,5),rand(2,5),rand(5,2));
trzeros(Sl1), trzeros(rand(2,2)*Sl1*rand(2,2))

SEE ALSO
projsl, feedback