How to generate pn-sequence in matlab?

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?

 Risposta accettata

Andrew Newell
Andrew Newell il 26 Apr 2011
Modificato: John Kelly il 26 Feb 2015

0 voti

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).

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by