Introduction - If you have any usage issues, please Google them yourself
Assume that a direct sequence spread spectrum system uses the Barker code of length 7 (N=7) as its spreading sequence.
a. Randomly generate 8 symbols (d0~d7) from the set {+1,-1}.
b. If each chip of the Barker code is denoted as cj, j=0~6, spread each symbol di by the Barker code. (Please refer to p. 17 of the slides.) Use “stem” to plot the signals before
spreading and after spreading