summaryrefslogtreecommitdiff
path: root/761/CH24/EX24.7/24_7.sce
blob: 5063d820d83a154229cc6ed58c55a2952db598de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clc;
// page no 899
// prob no 24.7
// refer table from the problem page no 899
P_coupling1 =-3; P_coupling2 = -6; P_coupling3 =-40;// in dB
//Part a) The proportion of input power emerging at port 2
P2_Pin=10^(P_coupling1/10);
disp('%',P2_Pin*100,'a) The proportion of input power emerging at port 2');
P3_Pin=10^(P_coupling2/10);
disp('%',P3_Pin*100,' The proportion of input power emerging at port 3');
// Part b) In the reverse direction,the signal is 40dB down for all combinations, so
directivity = 40;
disp('dB',directivity,'Directivity is');
Pin_total = P2_Pin + P3_Pin;
// excess loss in dB
loss=-10*log10(Pin_total);
disp('dB',loss,'the excess loss is');