Can we generate PN codes (maximal length sequence) using this technique in Matlab where L is the PN length?
If yes, why?
Signal Processing Stack Exchange is a question and answer site for practitioners of the art and science of signal, image and video processing. It only takes a minute to sign up.Sign up to join this community
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)