summaryrefslogtreecommitdiff
path: root/61/CH12/EX12.10/ex12_10.sce
blob: f40646f2f7152cad1cf2291d9816ed9c367a5676 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//ex12.10
A_v1=40;    //all gains are in decibels
A_v2=32;
A_v3=20;
f_c1=2*10^3;
f_c2=40*10^3;
f_c3=150*10^3;
f=f_c1;
A_ol_mid=A_v1+A_v2+A_v3;
theta_1=phase_shift(f,f_c1);
theta_2=phase_shift(f,f_c2);
theta_3=phase_shift(f,f_c3);
theta_tot=theta_1+theta_2+theta_3;
disp(A_ol_mid,'open loop midrange gain in decibels')
disp(theta_tot,'total phase lag in degrees')