summaryrefslogtreecommitdiff
path: root/3885/CH5/EX5.4/Ex5_4.sci
blob: 972e7e18d8e0c075dfbba2f4d46d40f540be3a4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 5.4

clc;
clear; 
s=poly(0,'s')
a=(9*s^5)-(20*s^4)+(10*s^3)-(s^2)-(9*s)-10
b=coeff(a)
n=length(b)
R=routh_t(a)
disp(R,'the routh array is;')
disp('there are 3 sign changes in first column of routh array ')
disp('three roots lie on right side of s plane so the system is unstable')