diff options
Diffstat (limited to '3739/CH6/EX6.14')
-rw-r--r-- | 3739/CH6/EX6.14/EX6_14.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/3739/CH6/EX6.14/EX6_14.sce b/3739/CH6/EX6.14/EX6_14.sce new file mode 100644 index 000000000..9da47daa4 --- /dev/null +++ b/3739/CH6/EX6.14/EX6_14.sce @@ -0,0 +1,22 @@ +//Chapter 6, Example 6.14, page 265
+clc
+//Initialisation
+pm=2 //transmitter power
+ld=1 //Duplexer losses
+lp=138 //Path loss
+lfm=0.5 //terminal feeder losses
+lfb=6.5 //transmitter feeder losses
+gt=12 //BTS transmitter antenna gain
+gr=2 //BTS receiver antenna gain
+i=3
+bs=-110 //BTS receiver sensitivity
+
+//Calculation
+ptm=10*log10(pm*10**3)
+prb=ptm-ld-lp-lfm-lfb+gt+gr
+pr=prb+i //BTS received power
+fm=pr-bs //fade margin
+
+//Results
+printf("BTS received power = %.1f dBm",pr)
+printf("\nFade margin = %.1f dB",fm)
|