diff options
Diffstat (limited to '257/CH11/EX11.20/example_11_20.sce')
-rw-r--r-- | 257/CH11/EX11.20/example_11_20.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/257/CH11/EX11.20/example_11_20.sce b/257/CH11/EX11.20/example_11_20.sce new file mode 100644 index 000000000..23ff5493b --- /dev/null +++ b/257/CH11/EX11.20/example_11_20.sce @@ -0,0 +1,11 @@ +s=poly(0,'s');
+F=syslin('c',[200/((100+12*s+s^2)*s)])
+
+
+[GainMargin,freqGM]=g_margin(F) //Calculates gain margin [dB] and corresponding frequency [Hz]
+disp(GainMargin,"GM=")
+
+
+[PhaseMargin,freqPM]=p_margin(F) //Calculates phase [deg] and corresponding freq [Hz] of phase margin
+disp(PhaseMargin,"PM=")
+
|