summaryrefslogtreecommitdiff
path: root/3542/CH9/EX9.9/Ex9_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3542/CH9/EX9.9/Ex9_9.sce')
-rw-r--r--3542/CH9/EX9.9/Ex9_9.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3542/CH9/EX9.9/Ex9_9.sce b/3542/CH9/EX9.9/Ex9_9.sce
new file mode 100644
index 000000000..41c515a1e
--- /dev/null
+++ b/3542/CH9/EX9.9/Ex9_9.sce
@@ -0,0 +1,23 @@
+// Example no 9.9
+// To determine the maximum number of users using a)omnidirectional base station antenna and no voice activity b)three-sectors at the base station and voice activity detection
+// Page no. 472
+
+clc;
+clear all;
+
+// Given data
+W=1.25*10^6; // Total RF bandwidth in Hz
+R=9600; // Baseband information bit rate in bps
+EbNo=10; // Minimum acceptable SNR in dB
+
+// a)Maximum number of users using omnidirectional base station antenna and no voice activity
+N1=1+(W/R)/EbNo; // Maximum number of users using omnidirectional
+
+// b)Maximum number of users using three-sectors at the base station antenna and voice activity with alpha=3/8
+alpha=3/8; // Voice activity factor
+Ns=1+(1/alpha)*((W/R)/EbNo); // Maximum number of users
+N2=3*Ns; // Maximum number of users using three-sectors
+
+// Displaying the result in command window
+printf('\n Maximum number of users using omnidirectional base station antenna and no voice activity = %0.0f',N1);
+printf('\n Maximum number of users using three-sectors at the base station antenna and voice activity (with alpha=3/8) = %0.0f',N2);