summaryrefslogtreecommitdiff
path: root/1151/CH8/EX8.25/example25.sce
diff options
context:
space:
mode:
Diffstat (limited to '1151/CH8/EX8.25/example25.sce')
-rwxr-xr-x1151/CH8/EX8.25/example25.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/1151/CH8/EX8.25/example25.sce b/1151/CH8/EX8.25/example25.sce
new file mode 100755
index 000000000..a72b3b612
--- /dev/null
+++ b/1151/CH8/EX8.25/example25.sce
@@ -0,0 +1,7 @@
+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 ) )
+disp(Ac,"MAtrix A=")
+disp(Bc,"MAtrix B=")