diff options
Diffstat (limited to '104/CH9/EX9.4/9_4.sce')
-rwxr-xr-x | 104/CH9/EX9.4/9_4.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/104/CH9/EX9.4/9_4.sce b/104/CH9/EX9.4/9_4.sce new file mode 100755 index 000000000..ae05ca78d --- /dev/null +++ b/104/CH9/EX9.4/9_4.sce @@ -0,0 +1,11 @@ +//stability of minimum phase loop transfer function
+s=%s;
+sys=syslin('c',1/(s*(s+2)*(s+10)))
+nyquist(sys)
+show_margins(sys,'nyquist')
+Z=0//no of zeroes of 1+G(s)H(s) in RHP
+P=0//no of poles in RHP
+Pw=1//no of poles on jw axis including origin
+theta=(Z-P-0.5*Pw)*180
+disp(theta,"theta=")
+printf("theta from nyquist_plot = -90 \n hence system is stabe")
\ No newline at end of file |