summaryrefslogtreecommitdiff
path: root/3446/CH11/EX11.3/Ex11_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3446/CH11/EX11.3/Ex11_3.sce')
-rw-r--r--3446/CH11/EX11.3/Ex11_3.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3446/CH11/EX11.3/Ex11_3.sce b/3446/CH11/EX11.3/Ex11_3.sce
new file mode 100644
index 000000000..55bbea795
--- /dev/null
+++ b/3446/CH11/EX11.3/Ex11_3.sce
@@ -0,0 +1,13 @@
+// Exa 11.3
+// To find the minimum number of PN chips.
+
+clc;
+clear all;
+
+BW=100; //in MHz
+Fspac=10; //frequency spacing in kHz
+
+//solution
+FreqTones=BW*10^3/Fspac;
+Chips=log2(FreqTones);
+printf('Minimum number of chips required are %d chips \n ',Chips);