summaryrefslogtreecommitdiff
path: root/3446/CH11/EX11.3/Ex11_3.sce
blob: 55bbea7957d90adeb7e115f9182000a2a7de3d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);