Can we generate PN codes (maximal length sequence) using this technique in Matlab where L is the PN length?


If yes, why?


1 Answer 1



This will just create a random sequence of 0 and 1. In order to create a maximum length sequence you need a primitive polynomial as a generator. See for example https://en.wikipedia.org/wiki/Primitive_polynomial_(field_theory)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.