summaryrefslogtreecommitdiff
path: root/Working_Examples/3885/CH7/EX7.12/Ex7_12.sci
diff options
context:
space:
mode:
Diffstat (limited to 'Working_Examples/3885/CH7/EX7.12/Ex7_12.sci')
-rwxr-xr-xWorking_Examples/3885/CH7/EX7.12/Ex7_12.sci16
1 files changed, 16 insertions, 0 deletions
diff --git a/Working_Examples/3885/CH7/EX7.12/Ex7_12.sci b/Working_Examples/3885/CH7/EX7.12/Ex7_12.sci
new file mode 100755
index 0000000..11e0d08
--- /dev/null
+++ b/Working_Examples/3885/CH7/EX7.12/Ex7_12.sci
@@ -0,0 +1,16 @@
+//control systems by Nagoor Kani A
+//Edition 3
+//Year of publication 2015
+//Scilab version 6.0.0
+//operating systems windows 10
+// Example 7.12
+
+clc;
+clear;
+s=%s
+h=syslin('c',(2*(s+5))/((s+2)*(s+3)*(s+4)))
+disp(h,'thr transfer function is')
+ss=tf2ss(h)
+disp(ss,'the state space model is')
+[Ac,Bc,U,ind]=canon(ss(2),ss(3))
+disp(Ac,Bc,U,ind)