summaryrefslogtreecommitdiff
path: root/Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex7.2.sci
diff options
context:
space:
mode:
Diffstat (limited to 'Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex7.2.sci')
-rw-r--r--Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex7.2.sci8
1 files changed, 8 insertions, 0 deletions
diff --git a/Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex7.2.sci b/Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex7.2.sci
new file mode 100644
index 0000000..d00e38b
--- /dev/null
+++ b/Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex7.2.sci
@@ -0,0 +1,8 @@
+function y=locus1(z)
+s=%s
+H=syslin('c',1+(1/(s*(s+1)*(s+2))));
+evans(H,z)
+printf("The branches of root locus starts with K=0 and poles s=0,-1,-2")
+printf("Since there is no open loop zero the branches terminate at infinity")
+y=0;
+endfunction