No License
Maximum length sequences (MLS) are used to probe systems for errors or transfer functions (e.g., as in LTI systems). An initial register sequence of ones is generated (instead of a random binary sequence) by default, but a random sequence can be used. This code makes use of the gfprimdf.m to produce the primitive polynomial (requires the Communications tool box).
Cite As
Tim Streeter (2024). MLS generator (https://www.mathworks.com/matlabcentral/fileexchange/13388-mls-generator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: mls.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Fixed a small error where it would save a 15th order sequence to file instead of storing in the workspace. |