From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 1499/CH5/EX5.8/q8.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 1499/CH5/EX5.8/q8.sce (limited to '1499/CH5/EX5.8/q8.sce') diff --git a/1499/CH5/EX5.8/q8.sce b/1499/CH5/EX5.8/q8.sce new file mode 100644 index 000000000..0d981b31c --- /dev/null +++ b/1499/CH5/EX5.8/q8.sce @@ -0,0 +1,16 @@ +s=%s; + +g=(1*((s+3)^3)); + +G=syslin('c',g) +fmin=0.01; +fmax=100; +bode(G,fmin,fmax) +show_margins(G) + +[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="); -- cgit