diff options
Diffstat (limited to '29/CH9/EX9.10.6/exa9_10_6.sce')
-rwxr-xr-x | 29/CH9/EX9.10.6/exa9_10_6.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/29/CH9/EX9.10.6/exa9_10_6.sce b/29/CH9/EX9.10.6/exa9_10_6.sce new file mode 100755 index 000000000..901889d19 --- /dev/null +++ b/29/CH9/EX9.10.6/exa9_10_6.sce @@ -0,0 +1,11 @@ +//caption:obtain_state_matrix
+//example 9.10.6
+//page 389
+s=%s;
+g=(s^2+3*s+2)/(s^3+9*s^2+26*s+24);
+CL=syslin('c',g);
+disp(CL,"C(s)/R(s)=");
+SS=tf2ss(CL)
+[Ac,Bc,U,ind]=canon(SS(2),SS(3))
+disp(SS,"state space matrix=")
+disp(Ac,"Ac",Bc,"Bc",U,"U",ind,"ind")
\ No newline at end of file |