blob: 7e9f4d97c0677aaa730cec6919f277de26856594 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
//control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 5.2
clc;
clear;
s=poly(0,'s')
a=(s^6)+(2*s^5)+(8*s^4)+(12*s^3)+(20*s^2)+(16*s)+16
b=coeff(a)
n=length(b)
R=routh_t(a)
disp(R,'the routh array is;')
ap=s^4+6*s^2+8
r=roots(ap)
disp(r,'the roots of auxilary polynomial;')
disp('the system is marginally stable;')
disp('four roots lying in imaginary axis ;')
|