summaryrefslogtreecommitdiff
path: root/3542/CH3/EX3.2/Ex3_2.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3542/CH3/EX3.2/Ex3_2.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 '3542/CH3/EX3.2/Ex3_2.sce')
-rw-r--r--3542/CH3/EX3.2/Ex3_2.sce33
1 files changed, 33 insertions, 0 deletions
diff --git a/3542/CH3/EX3.2/Ex3_2.sce b/3542/CH3/EX3.2/Ex3_2.sce
new file mode 100644
index 000000000..48fe407c6
--- /dev/null
+++ b/3542/CH3/EX3.2/Ex3_2.sce
@@ -0,0 +1,33 @@
+// Example 3.2
+// To find frequency reuse factor for path loss exponent (n) a)n=4 b)n=3
+// Page No.72
+
+clc;
+clear;
+
+// Given data
+SIdB=15; // Signal to interference(dB)
+io=6; // Number of cochannel cell
+
+// For n=4
+n1=4; // Path loss exponent
+N1=7; // First consideration: frequency reuse factor N=7
+DR1=sqrt(3*N1); // Co-channel reuse ratio
+si1=(1/io)*(DR1)^n1; // Signal to interference
+sidB1=10*log10(si1); // Signal to interference(dB)
+
+// For n=3
+n2=3; // Path loss exmponent
+si=(1/io)*(DR1)^n2; // Signal to interference for first consideration: frequency reuse factor N=7
+sidB=10*log10(si); // Signal to interference(dB)
+
+N2=12; // second consideration : frequency reuse factor N=12 since sidB<SIdB
+DR2=sqrt(3*N2); // Co-channel reuse ratio
+si2=(1/io)*(DR2)^n2; // Signal to interference
+sidB2=10*log10(si2); // Signal to interference(dB)
+
+// Displaying the result in command window
+printf('\n Signal to noise ratio for n=4 with frequency reuse factor N=7 = %0.2f dB',sidB1);
+printf('\n Signal to noise ratio for n=3 with frequency reuse factor N=7 = %0.2f dB',sidB);
+printf('\n Signal to noise ratio for n=3 with frequency reuse factor N=12 = %0.2f dB',sidB2);
+printf('\n Since SIR is for n=3 with frequency reuse factor N=7 greater than the minimum required, so N=12 is used.');