summaryrefslogtreecommitdiff
path: root/Completed Simulations/K.Ogata/Chapter6/Ex2.sci
diff options
context:
space:
mode:
Diffstat (limited to 'Completed Simulations/K.Ogata/Chapter6/Ex2.sci')
-rw-r--r--Completed Simulations/K.Ogata/Chapter6/Ex2.sci7
1 files changed, 7 insertions, 0 deletions
diff --git a/Completed Simulations/K.Ogata/Chapter6/Ex2.sci b/Completed Simulations/K.Ogata/Chapter6/Ex2.sci
new file mode 100644
index 0000000..c06fc7f
--- /dev/null
+++ b/Completed Simulations/K.Ogata/Chapter6/Ex2.sci
@@ -0,0 +1,7 @@
+function locus3(z)
+s=%s
+H=syslin('c',s+2,s^2+2*s+3)
+evans(H,z)
+xgrid()
+xtitle('Root locus of G(s) = (s+2)/(s^2+2*s+3)')
+endfunction