diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /773/CH10/EX10.15 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '773/CH10/EX10.15')
-rwxr-xr-x | 773/CH10/EX10.15/10_15.sci | 12 |
1 files changed, 12 insertions, 0 deletions
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=")
|