diff options
Diffstat (limited to '29/CH9/EX9.10.7')
-rwxr-xr-x | 29/CH9/EX9.10.7/exa9_10_7.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/29/CH9/EX9.10.7/exa9_10_7.sce b/29/CH9/EX9.10.7/exa9_10_7.sce new file mode 100755 index 000000000..5c78cd19e --- /dev/null +++ b/29/CH9/EX9.10.7/exa9_10_7.sce @@ -0,0 +1,11 @@ +//caption:obtain_state_matrix
+//example 9.10.7
+//page 390
+s=%s;
+g=(s+3)/((s+1)*(s+2));
+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 |