summaryrefslogtreecommitdiff
path: root/Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex9.6
diff options
context:
space:
mode:
Diffstat (limited to 'Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex9.6')
-rw-r--r--Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex9.69
1 files changed, 9 insertions, 0 deletions
diff --git a/Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex9.6 b/Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex9.6
new file mode 100644
index 0000000..45154aa
--- /dev/null
+++ b/Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex9.6
@@ -0,0 +1,9 @@
+function y=nqst6(z)
+s=%s
+H=syslin('c',(s-2)/(s+1)^2)
+nyquist(H)
+show_margins(H,'nyquist')
+printf("P=0(poles in RHP)")
+printf("N=-1,hence Z=1")
+printf("Therefore,System is unstable")
+endfunction