summaryrefslogtreecommitdiff
path: root/3446/CH11/EX11.8/Ex11_8.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3446/CH11/EX11.8/Ex11_8.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3446/CH11/EX11.8/Ex11_8.sce')
-rw-r--r--3446/CH11/EX11.8/Ex11_8.sce35
1 files changed, 35 insertions, 0 deletions
diff --git a/3446/CH11/EX11.8/Ex11_8.sce b/3446/CH11/EX11.8/Ex11_8.sce
new file mode 100644
index 000000000..cb20c71c9
--- /dev/null
+++ b/3446/CH11/EX11.8/Ex11_8.sce
@@ -0,0 +1,35 @@
+// Exa 11.8
+// To determine a possible pair of the SOFT-SLOPE and ADD-INTERCEPT values that will trigger the mobile station to send a PSMM to the base station and if the mobile station is IS-95 compliant, find the value of T-COMP that could trigger the mobile station to generate a PSMM.
+
+clc;
+clear all;
+
+P1=-95; //pilot1 in dBm
+P2=-100; //pilot2 in dBm
+P3=-101; //pilot3 in dBm
+P4=-105; //pilot4 in dBm
+P5=-102; //pilot in dBm
+NoiseP=-107; //Receiver sensitivity(dBm)
+Tadd=-13; //dB
+
+//solution
+//Pcj = received power of the jth pilot in the candidate set
+// Pai= received power of the ith pilot in the active set
+Pa1=P1-NoiseP;
+Pa2=P2-NoiseP;
+Pa3=P3-NoiseP;
+Pa4=P4-NoiseP;
+Pc5=P5-NoiseP;
+
+X=10*log10(10^(0.1*Pa1)+10^(0.1*Pa2)+10^(0.1*Pa3)+10^(0.1*Pa4)+10^(0.1*Pc5));
+disp("Max {14.22 *(SOFT-SLOPE)+ (ADD-INTERCEPT),-13 }<=5");
+disp("Thus we have two equations as follows");
+disp("14.22*SOFT-SLOPE+ADD-INTERCEPT>=-13 and");
+disp("14.22*SOFT-SLOPE+ADD-INTERCEPT<=5");
+disp(" Solving these equations, we get SOFT-SLOPE= 0.5 and ADD-INTERCEPT=-4");
+disp("For an IS-95-compliant mobile station (Pcj-Pai)>=0.5*T-COMP");
+disp("Since P1>P2>P3>P4, we replace P4");
+T_COMP=(P5-P4)/0.5;
+disp("");
+printf('The value of T-COMP that could trigger the mobile station to generate a PSMM should be <= %d dB (<= %d) .\n ',T_COMP,round(10^(0.1*T_COMP)));
+