summaryrefslogtreecommitdiff
path: root/62/CH7/EX7.50
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /62/CH7/EX7.50
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '62/CH7/EX7.50')
-rwxr-xr-x62/CH7/EX7.50/ex_7_50.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/62/CH7/EX7.50/ex_7_50.sce b/62/CH7/EX7.50/ex_7_50.sce
new file mode 100755
index 000000000..c8dd51bcd
--- /dev/null
+++ b/62/CH7/EX7.50/ex_7_50.sce
@@ -0,0 +1,14 @@
+clc;
+A=[0 1;2 1];
+b=[1;-1];
+c=[1 -1];
+d=[0];
+e=spec(A);
+if real(e(1))>0 |real(e(2))>0 then
+ disp("the sytem is not asymptotically stable")
+else
+ disp("the system is asymptotically stable")
+end
+Hs=ss2tf(syslin('c',A,b,c,d));
+disp(Hs,"H(s)=")
+disp("there is only one pole and it is located at -1 which is in the LHP hence the system is BIBO stable")