diff options
Diffstat (limited to '29/CH12/EX12.27')
-rwxr-xr-x | 29/CH12/EX12.27/exa12_27.jpg | bin | 0 -> 24464 bytes | |||
-rwxr-xr-x | 29/CH12/EX12.27/exa12_27.sce | 16 |
2 files changed, 16 insertions, 0 deletions
diff --git a/29/CH12/EX12.27/exa12_27.jpg b/29/CH12/EX12.27/exa12_27.jpg Binary files differnew file mode 100755 index 000000000..a714180f2 --- /dev/null +++ b/29/CH12/EX12.27/exa12_27.jpg diff --git a/29/CH12/EX12.27/exa12_27.sce b/29/CH12/EX12.27/exa12_27.sce new file mode 100755 index 000000000..ebeda64fd --- /dev/null +++ b/29/CH12/EX12.27/exa12_27.sce @@ -0,0 +1,16 @@ +//caption:gain_and_phase_margin +//example 12_27 +//page543 +clf(); +s=%s; +s1=-s; +disp("for K=0.5") +g=(0.5)/(s*(s+1)^2); +GH=syslin('c',g); +nyquist(GH); +//mtlb_axis([-5 1 -500 500]); +xtitle('Nyquist plot of (2.5*3)/(s*(0.4*s+1)*(0.2*s+1))') +pm=p_margin(GH) +disp(pm,"phase margin=") +gm=g_margin(GH) +disp(gm,"gain margin=")
\ No newline at end of file |