I am trying to generate a pn sequence using five shift registers. The shift register should be composed out of 10 states, giving us a period of 1023 bits. I was trying hard to get it done, but I am completely confused as how to generate 1023 bits using 5 shift registers. I need to submit it by tomorrow and I am feeling really tense. Can someone please help me with this matlab code.
P.S. I am not allowed to use MATLAB's built-in functions to generate the sequence.