summaryrefslogtreecommitdiff
path: root/104/CH9/EX9.5/9_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '104/CH9/EX9.5/9_5.sce')
-rwxr-xr-x104/CH9/EX9.5/9_5.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/104/CH9/EX9.5/9_5.sce b/104/CH9/EX9.5/9_5.sce
new file mode 100755
index 000000000..79b799eb9
--- /dev/null
+++ b/104/CH9/EX9.5/9_5.sce
@@ -0,0 +1,11 @@
+//stability of non minimum phase loop transfer_function
+s=%s;
+sys=syslin('c',(s-1)/s*(s+1))
+nyquist(sys)
+show_margins(sys,'nyquist')
+P=0//no of poles in RHP
+Pw=1//no of poles on jw axis including origin
+theta=90//as seen from nyquist plot
+Z=(theta/180)+0.5*Pw+P
+disp(Z,"Z=")
+printf("Z is not equal to 0. \n hence system is unstabe") \ No newline at end of file