mls.m

Generates maximum length sequences, which are pseudorandom noises useful for acoustic measurements.

You are now following this Submission

Function can accept bit lengths of between 2 and 24

y is a vector of 1's & -1's that is (2^n)-1 in length.

Cite As

Christopher Brown (2026). mls.m (https://www.mathworks.com/matlabcentral/fileexchange/1246-mls-m), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: MLS generator

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