summaryrefslogtreecommitdiff
path: root/3739/CH6/EX6.19/EX6_19.sce
diff options
context:
space:
mode:
Diffstat (limited to '3739/CH6/EX6.19/EX6_19.sce')
-rw-r--r--3739/CH6/EX6.19/EX6_19.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3739/CH6/EX6.19/EX6_19.sce b/3739/CH6/EX6.19/EX6_19.sce
new file mode 100644
index 000000000..2b8f13a51
--- /dev/null
+++ b/3739/CH6/EX6.19/EX6_19.sce
@@ -0,0 +1,22 @@
+//Chapter 6, Example 6.19, page 275
+clc
+
+//Initialisation
+f=1800 //frequency in MHz
+d=10 //distance in m
+hb=40
+hm=3
+A=132.57 //Hata model data
+B=34.4 //Hata model data
+
+//Calculation
+E2=(((1.1*log10(f))-0.7)*hm)-((1.56*log10(f))-0.8)
+lp=46.3+33.9*log10(f)-13.82*log10(hb)+(44.9-6.55*log10(hb)-E2+hm)
+L=A+B+-E2
+
+
+//Results
+printf("Path loss based on COST–Hata model,")
+printf("\n Lp = %.2f dB",lp)
+printf("\nPath loss based on Hata model,")
+printf("\n Lp = %.2f dB",L)