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 --- 773/CH10/EX10.15/10_15.sci | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 773/CH10/EX10.15/10_15.sci (limited to '773/CH10/EX10.15') diff --git a/773/CH10/EX10.15/10_15.sci b/773/CH10/EX10.15/10_15.sci new file mode 100755 index 000000000..bcfd61934 --- /dev/null +++ b/773/CH10/EX10.15/10_15.sci @@ -0,0 +1,12 @@ +//equation// +ieee(2); +syms s T; +m=s^2+(2-T)*s+1 +cof_a_0 = coeffs(m,'s',0); +cof_a_1 = coeffs(m,'s',1); +cof_a_2 = coeffs(m,'s',2); +r=[cof_a_0 cof_a_1 cof_a_2] +n=length(r); +routh=[r([3,1]);r(2),0]; +routh=[routh;-det(routh)/routh(2,1),0]; +disp(routh,"routh=") -- cgit