summaryrefslogtreecommitdiff
path: root/1340/CH8/EX8.3/8_3.sce
blob: fc8b71426c9b6522c299fef9a0430078d9fd7512 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc;
s = %s;
G = syslin('c',((s-3)*(s-5))/((s+1)*(s+2)));
disp(G);
evans(G,100);xgrid();
printf("For all the points on the root locus K.G(s).H(s) = -1");
K = -G^(-1);
disp(K);
Kdot = derivat(K);disp(Kdot,"dK/ds =");
root = roots(numer(Kdot));
disp(root(2),"Break away point at ",root(1),"Break in point at");