summaryrefslogtreecommitdiff
path: root/1151/CH8/EX8.23/example23.sce
diff options
context:
space:
mode:
Diffstat (limited to '1151/CH8/EX8.23/example23.sce')
-rwxr-xr-x1151/CH8/EX8.23/example23.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1151/CH8/EX8.23/example23.sce b/1151/CH8/EX8.23/example23.sce
new file mode 100755
index 000000000..cbce113e2
--- /dev/null
+++ b/1151/CH8/EX8.23/example23.sce
@@ -0,0 +1,9 @@
+s=%s;//find transfer function of the given system
+A =[-2 -1;-3 -2];
+B =[3;4];
+x =[2 1];
+[r c]= size (A)
+p=s*eye(r,c)-A // s*I-A
+q=inv(p)
+c=x*q*B;
+disp(c,"required transfer function =")