summaryrefslogtreecommitdiff
path: root/3542/CH4/EX4.11/Ex4_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '3542/CH4/EX4.11/Ex4_11.sce')
-rw-r--r--3542/CH4/EX4.11/Ex4_11.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/3542/CH4/EX4.11/Ex4_11.sce b/3542/CH4/EX4.11/Ex4_11.sce
new file mode 100644
index 000000000..8d502e185
--- /dev/null
+++ b/3542/CH4/EX4.11/Ex4_11.sce
@@ -0,0 +1,27 @@
+// Example no 4.11
+// To find the mean path loss
+// Page no. 166
+
+clc;
+clear;
+
+// Given data
+d0=1; // Reference distance in m
+d=30; // Distance from transmitter in m
+nSF=3.27; // Exponent value for same floor
+nMF=5.22; // Path loss exponent value for multiple floors
+FAF=24.4; // Floor attenuation factor for specified floor in dB
+n=2; // Number of blocks
+PAF=13; // Particular attenuation factor for paricular obstruction in dB
+PLSFd0=31.5; // Attenuation at reference distance for same floor in dB
+PLMFd0=5.5; // Attenuation at reference distance for multiple floor in dB
+
+//Mean path loss at same floor
+PL1=PLSFd0+10*nSF*log10(d/d0)+FAF+n*PAF;
+
+//Mean path loss at multiple floor
+PL2=PLMFd0+10*nMF*log10(d/d0)+n*PAF;
+
+//Displaying the result in command window
+printf('\n The mean path loss at same floor = %0.1f dB',PL1);
+printf('\n The mean path loss at multiple floor = %0.1f dB',PL2);