Generate Barker Code With Various Code Lengths
cm_ex_various_barker_code_length model shows the output from
Barker Code Generator blocks configured for 15 samples per frame at a sample time of 1, and code lengths set to 3, 4, 7, and 13. The plot shows that the code sequence repeats, as needed, to fill a 15 sample frame.
Plot the Barker code sequences. Each
Barker Code Generator block outputs one frame with 15 samples. Comparing the code sequences you can see the code is repeated to fill the frame.