How to generate pn-sequence in matlab?

5 views (last 30 days)
How can I generate PN-sequence that is then used for spreading the spectrum in CDMA?? I once read that it is implemented using shift registers but how can we write the matlab code?

Accepted Answer

Andrew Newell
Andrew Newell on 26 Apr 2011
Edited: John Kelly on 26 Feb 2015
You might not have to reinvent the wheel. If you have the Communications Toolbox, you could use seqgen. If not, you could try reading Maximum Length Sequences ( m-sequences).

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!