b = barker()
Note that the output might be different each time. You can adjust the code length and the samples per frame. See the documentation for examples
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!