summaryrefslogtreecommitdiff
path: root/104/CH9/EX9.6/9_6.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /104/CH9/EX9.6/9_6.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '104/CH9/EX9.6/9_6.sce')
-rwxr-xr-x104/CH9/EX9.6/9_6.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/104/CH9/EX9.6/9_6.sce b/104/CH9/EX9.6/9_6.sce
new file mode 100755
index 000000000..2461a595b
--- /dev/null
+++ b/104/CH9/EX9.6/9_6.sce
@@ -0,0 +1,12 @@
+//stability of non minimum phase loop transfer_function
+s=%s;
+sys=syslin('c',10*(s+2)/(s^3+3*s^2+10))
+nyquist(sys)
+show_margins(sys,'nyquist')
+printf("Z=0 hence sys is closed loop stable but as it is a non minimum phase loop_function it should satisfy angle criterion")
+Z=0//no of zeroes of 1+G(s)H(s) in RHP
+P=2//no of poles in RHP
+Pw=0//no of poles on jw axis including origin
+theta=(Z-P-0.5*Pw)*180
+disp(theta,"theta for stability=")
+printf("theta from nyquist_plot = -360 \n hence system is stabe") \ No newline at end of file