controllable part
[slc]=contrss(sl [,tol])
:sl linear system ( syslin list) : :tol is a threshold for controllability (see contr). default value
is sqrt(%eps).
:
returns the controllable part of the linear system sl = (A,B,C,D) in state-space form.
A=[1,1;0,2];B=[1;0];C=[1,1];sl=`syslin`_('c',A,B,C); //Non minimal
slc=contrss(sl);
sl1=`ss2tf`_(sl);sl2=`ss2tf`_(slc); //Compare sl1 and sl2