summaryrefslogtreecommitdiff
path: root/Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex9_2.sci
diff options
context:
space:
mode:
Diffstat (limited to 'Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex9_2.sci')
-rw-r--r--Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex9_2.sci7
1 files changed, 7 insertions, 0 deletions
diff --git a/Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex9_2.sci b/Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex9_2.sci
new file mode 100644
index 0000000..1af4a85
--- /dev/null
+++ b/Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex9_2.sci
@@ -0,0 +1,7 @@
+function y=nqst1(z)
+s=%s
+H=syslin('c',(s+2)/((s+1)*(s-1)))
+nyquist(H)
+show_margins(H,'nyquist')
+y=0;
+endfunction