From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 62/CH7/EX7.50/ex_7_50.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 62/CH7/EX7.50/ex_7_50.sce (limited to '62/CH7/EX7.50') 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") -- cgit