MLS generator

A maximum length sequence (MLS) generator

You are now following this Submission

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 (2026). MLS generator (https://www.mathworks.com/matlabcentral/fileexchange/13388-mls-generator), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: mls.m

Categories

Find more on Audio I/O and Waveform Generation in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Fixed a small error where it would save a 15th order sequence to file instead of storing in the workspace.