summaryrefslogtreecommitdiff
path: root/257/CH11/EX11.1/example_11_1.sce
blob: b5496e3878e5359414ab129ae087db8194f9f968 (plain)
1
2
3
4
5
6
7
s=poly(0,'s'); 
F=syslin('c',[20/((1+0.1*s)*s)]) 
fmin=0.1; //Min freq in Hz
fmax=20; //Max freq in Hz
scf(1);clf;
bode(F,fmin,fmax); //Plots frequency response of open-loop system in Bode diagram
show_margins(F) //display gain and phase margin and associated crossover frequencies