From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 29/CH11/EX11.34/exa11_34.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 29/CH11/EX11.34/exa11_34.sce (limited to '29/CH11/EX11.34') diff --git a/29/CH11/EX11.34/exa11_34.sce b/29/CH11/EX11.34/exa11_34.sce new file mode 100755 index 000000000..40344a3e4 --- /dev/null +++ b/29/CH11/EX11.34/exa11_34.sce @@ -0,0 +1,11 @@ +//caption:obtain_state_matrix +//example 11_34 +//page 509 +s=%s; +g=(s^2+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 -- cgit