summaryrefslogtreecommitdiff
path: root/1499/CH5/EX5.9
diff options
context:
space:
mode:
Diffstat (limited to '1499/CH5/EX5.9')
-rw-r--r--1499/CH5/EX5.9/q9.sce16
-rw-r--r--1499/CH5/EX5.9/s9.jpegbin0 -> 137213 bytes
2 files changed, 16 insertions, 0 deletions
diff --git a/1499/CH5/EX5.9/q9.sce b/1499/CH5/EX5.9/q9.sce
new file mode 100644
index 000000000..582932558
--- /dev/null
+++ b/1499/CH5/EX5.9/q9.sce
@@ -0,0 +1,16 @@
+s=%s;
+
+g=(1/(s*((s*0.5)+1)*((s*0.1)+1)));
+
+G=syslin('c',g)
+fmin=0.01;
+fmax=100;
+bode(G,fmin,fmax)
+show_margins(G)
+xtitle("uncompensated system")
+[gm,freqGM]=g_margin(G)
+[pm,freqPM]=p_margin(G)
+disp(gm,"gain_margin=")
+disp((freqGM*2*%pi),"gain margin freq=");
+disp(pm,"phase margin=")
+disp((freqPM*2*%pi),"phase margin freq=");
diff --git a/1499/CH5/EX5.9/s9.jpeg b/1499/CH5/EX5.9/s9.jpeg
new file mode 100644
index 000000000..671f93786
--- /dev/null
+++ b/1499/CH5/EX5.9/s9.jpeg
Binary files differ