Professional Documents
Culture Documents
EXAMPLE 14.4
Click any to open the MATLAB script solving this exercise. Run script to read question and calculate solution.
On 1st run, the exercise is solved and the results are stored in .mat file. Parameters can be modified to solve
exercise variations. MATLAB student licences are cheap and there is a type that does not even require to be
registered in any university or college. All comments welcome.
To download and install MATLAB as well as review help on specific commands click any MATLAB icon:
______________________________________________________________________________________________________________________________
John Bofarull Guix jgb2012@sky.com jgb2014@live.co.uk 1/5
POZAR chapter 14: RF MICROWAVE SYSTEMS. Example 04 __ 05/11/2020 03:27:32.
pozar_14_example_04.m
One can declare 1st all input variables for the budget
T1 =
6×15 table
Var1 Var2 Var3 Var4 Var5 Var6 Var7 Var8 Var9 Var10 Var11 Var12 Var13 Var14
Var15
____ ____________________________ __________ ____ ___________________ __________ ________________ __________ ____ _____ _____
___________ __________________ __________ ______________________________
2 {'Transmitter Antenna Gain'} {'Gt' } NaN 2511.88643150958 {'[]' } 34 {'dB' } 1 NaN NaN {'c0' } 299792856
{'n/s' } {'light speed' }
3 {'Free Space Loss' } {'FSL' } NaN 20352706796.9892 {'[]' } 206.172443523138 {'dB' } -1 NaN NaN {'f0' } 12450000000
{0×0 char} {0×0 char }
4 {'Receiver Antenna Gain' } {'Gr' } NaN 2238.72113856834 {'[]' } 33.5 {'dB' } 1 NaN NaN {'lambda0'}
0.0240797474698795 {0×0 char} {0×0 char }
______________________________________________________________________________________________________________________________
John Bofarull Guix jgb2012@sky.com jgb2014@live.co.uk 2/5
POZAR chapter 14: RF MICROWAVE SYSTEMS. Example 04 __ 05/11/2020 03:27:32.
NaN {0×0 char } {0×0 char} NaN NaN {0×0 char} NaN {0×0 char} NaN NaN NaN {'R' } 39000000
{'m' } {'Sat-Earth station distance'}
NaN {'Received Power' } {'Pr' } NaN 1.6290593008284e-12 {'W' } -87.880631062662 {'dBm' } NaN NaN NaN {0×0 char }
NaN {0×0 char} {0×0 char }
NaN {0×0 char } {0×0 char} NaN NaN {0×0 char} NaN {0×0 char} NaN NaN NaN {'pi' } 3.14159
{0×0 char} {0×0 char }
Because often spread sheets are populated with additional data that would take time for MATLAB coding to remove, one could go straight for the spread
sheet fields of interest:
T2=T2.*T3 T2 =
1.0e+02 *
0.507918124604762
0.340000000000000
-2.061724435231383
0.335000000000000
PtdBm=T2(1) PtdBm =
GtdB=T2(2) 50.791812460476251
L0dB=T2(3) GtdB =
GrdB=T2(4) 34
L0dB =
-2.061724435231383e+02
GrdB =
33.500000000000000
Or taking into account units stored in additional spread sheet column. This way the solution is double checked regarding linear/dB/dBm 'spill-overs'
Prx_dBm=sum(T2) Prx_dBm =
-87.880631062662019
Prx=10^((Prx_dBm-30)/10) Prx =
1.629059300828404e-12
b) G/T
______________________________________________________________________________________________________________________________
John Bofarull Guix jgb2012@sky.com jgb2014@live.co.uk 3/5
POZAR chapter 14: RF MICROWAVE SYSTEMS. Example 04 __ 05/11/2020 03:27:32.
d) LINK MARGIN
Link_Margin_dB=CNR_dB-CNR_target_dB Link_Margin_dB =
2.677066438221477
______________________________________________________________________________________________________________________________
John Bofarull Guix jgb2012@sky.com jgb2014@live.co.uk 4/5
POZAR chapter 14: RF MICROWAVE SYSTEMS. Example 04 __ 05/11/2020 03:27:32.
This exercise is part of the collection of exercises Microwave Engineering POZAR 4th ed solved with MATLAB available in this website:
https://jgb2012.wixsite.com/microwave-eng-matlab
______________________________________________________________________________________________________________________________
John Bofarull Guix jgb2012@sky.com jgb2014@live.co.uk 5/5