MLS generator

A maximum length sequence (MLS) generator
2.9K Downloads
Updated 22 Jan 2007

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
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Audio I/O and Waveform Generation in Help Center and MATLAB Answers
Acknowledgements

Inspired by: mls.m

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
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.