blob: d5ea32ff08c94f3ea1ea9168b6af5f0a3999431f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
//Example 4.6.1
//Calculate the power op of an uplink transmitter
//Variables
clc
clear
Pr = -127
Gt = 50
Gr = 26
Lp = 207.2
Lta = 1.5
Lat = 0.5
Lpt = -2
Pin = 0-127
//Result
Pt = Pr - Gt - Gr + Lp + Lat + Lta - Lpt
printf("The transmitter output power is %f dBW \n",Pt)
Rainattenuation = 7
Ptrain = Pt + Rainattenuation
printf("The transmitter output power due to fading of rain is %f dBW",Ptrain)
|