summaryrefslogtreecommitdiff
path: root/3542/CH9/EX9.2/Ex9_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3542/CH9/EX9.2/Ex9_2.sce')
-rw-r--r--3542/CH9/EX9.2/Ex9_2.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3542/CH9/EX9.2/Ex9_2.sce b/3542/CH9/EX9.2/Ex9_2.sce
new file mode 100644
index 000000000..39c7ad686
--- /dev/null
+++ b/3542/CH9/EX9.2/Ex9_2.sce
@@ -0,0 +1,17 @@
+// Example no 9.2
+// To find number of channels available
+// Page no. 452
+
+clc;
+clear all;
+
+// Given data
+Bt=12.5*10^6; // Total spectrum allocation in Hz
+Bguard=10*10^3; // Guard band allocated in Hz
+Bc=30*10^3; // Channel bandwidth in Hz
+
+// The number of channels available
+N=(Bt-2*Bguard)/Bc; // The number of channels available
+
+// Displaying the result in command window
+printf('\n The number of channels available in FDMA system = %0.0f',N);