blob: b5d01735996c509694a48586dbb8b7b99e1c4ad8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
//Page Number: 8.18
//Example 8.18
clc;
//Given,
Fa=5; //dB
d=200; //Km
a=2; //dB/Km
No=4D-21; //W/Hz
BW=4000;
Osnr=30; //dB
//(a) No repeaters used
L=d*a; //dB
disp('dB',L,'Noise figure:');
//As Output SNR=InputSNR/F where F=L*Fa
//And Input SNR=(Pt/(No*B))
//Therefore,PT=Output SNR+L+Fa+(No*B)
NoB=10*log10(No*BW);
//Power Transmitted
Pt=Osnr+L+Fa+(NoB);
PtdB=10^(Pt/10);
disp('W',PtdB,'Power transmitted with no repeaters');
//(b)20 repeaters are employed
n=20;
//F becomes 20F
//Output SNR=InputSNR/20*F where F=L*Fa
L1=L/n; //dB per segment
//Power Transmitted
Pt1=Osnr+L1+Fa+(NoB)+(10*(log10(n)));
PtdB1=10^(Pt1/10);
disp('W',PtdB1,'Power transmitted with 20 repeaters');
|