summaryrefslogtreecommitdiff
path: root/3889/CH7/EX7.5
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3889/CH7/EX7.5
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3889/CH7/EX7.5')
-rw-r--r--3889/CH7/EX7.5/Ex7_5.sce28
-rw-r--r--3889/CH7/EX7.5/Ex7_5output1.PNGbin0 -> 20084 bytes
-rw-r--r--3889/CH7/EX7.5/Ex7_5output2.PNGbin0 -> 9951 bytes
3 files changed, 28 insertions, 0 deletions
diff --git a/3889/CH7/EX7.5/Ex7_5.sce b/3889/CH7/EX7.5/Ex7_5.sce
new file mode 100644
index 000000000..5404ba5a4
--- /dev/null
+++ b/3889/CH7/EX7.5/Ex7_5.sce
@@ -0,0 +1,28 @@
+//Example 7.5
+//page 439
+//Control Systems: Principles and Design
+//M Gopal, Second Edition, Tata McGraw-Hill
+//Chapter:Compensator Design Using Root Locus
+
+xdel(winsid())//close all graphics Windows
+clear;
+clc;
+//transfer function
+s=%s;
+P=(s+1)/((s^2)*(s+9));
+
+//Root locus plot using evans root locus
+f=figure()
+evans(P)
+title("Root locus of (s+1)/((s^2)*(s+9))",'fontsize',5)
+h=legend('');
+h.visible="OFF"
+zoom_rect([-5 -10 5 10])
+a=gca();
+a.x_location="origin"
+a.y_location="origin"
+a.parent.background=8;
+legends(['root locus';'';'asymptotic directions';'open loop poles'],[2,3,1,-2],with_box=%f,opt="ur",2.8)
+K=poly(0,'K')
+R= routh_t(P,K);
+disp(R,'Routh Array')
diff --git a/3889/CH7/EX7.5/Ex7_5output1.PNG b/3889/CH7/EX7.5/Ex7_5output1.PNG
new file mode 100644
index 000000000..23ff9a105
--- /dev/null
+++ b/3889/CH7/EX7.5/Ex7_5output1.PNG
Binary files differ
diff --git a/3889/CH7/EX7.5/Ex7_5output2.PNG b/3889/CH7/EX7.5/Ex7_5output2.PNG
new file mode 100644
index 000000000..006f060ae
--- /dev/null
+++ b/3889/CH7/EX7.5/Ex7_5output2.PNG
Binary files differ