Generation of PN Sequences
A PN sequence is a code sequence of l's and O's whose autocorrelation has properties similar to those of white noise.
Reference,
1. <<Contemporary Communication System using MATLAB>> - John G. Proakis