From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3739/CH6/EX6.19/EX6_19.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 3739/CH6/EX6.19/EX6_19.sce (limited to '3739/CH6/EX6.19/EX6_19.sce') 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) -- cgit