summaryrefslogtreecommitdiff
path: root/104/CH3/EX3.1/3_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '104/CH3/EX3.1/3_1.sce')
-rwxr-xr-x104/CH3/EX3.1/3_1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/104/CH3/EX3.1/3_1.sce b/104/CH3/EX3.1/3_1.sce
new file mode 100755
index 000000000..41057abf6
--- /dev/null
+++ b/104/CH3/EX3.1/3_1.sce
@@ -0,0 +1,11 @@
+//closed loop transfer function matrix
+s=%s
+G=[1/(s+1) -1/s;2 1/(s+2)]
+H=[1 0;0 1]
+GH=G*H
+disp(GH,"G(s)H(s)=")
+I=[1 0;0 1]
+x=I+GH
+y=inv(x)
+M=y*G
+disp(M,"M(s)=") \ No newline at end of file