summaryrefslogtreecommitdiff
path: root/Working_Examples/3432/CH5/EX5.6/Ex5_6.sce
blob: a2573d6e7e28dad4565d9fef6d363d7f048a9acf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//Example 5.6
//Root locus for satellite attitude control with a 
//Transition value for the pole.

xdel(winsid())//close all graphics Windows
clear;
clc;

//------------------------------------------------------------------
//System transfer function and its root locus 

s=poly(0,'s');
sysL=(s+1)/(s^2*(s+9));
evans(sysL)

//Title, labels and grid to the figure
exec .\fig_settings.sci; // custom script for setting figure properties
title(['Root locus for', '$L(s)=(s+1)/(s^2(s+9))$'],'fontsize',3)
zoom_rect([-6 -3 2 3])
h=legend('');
h.visible = "off"

//------------------------------------------------------------------