summaryrefslogtreecommitdiff
path: root/1151/CH8/EX8.27/example27.sce
blob: a4dbcf962f51361ee65228a6dd05e805c0f1887a (plain)
1
2
3
4
5
s=%s ;
//create state equation of the following matrix
TFcont=syslin ('c',(1+0.5*s)/(s^2+2*s+0.5) )
SScont=tf2ss(TFcont )
[Ac ,Bc ,U, ind ]=canon( SScont ( 2 ) , SScont ( 3 ) )