No BSD License  

Highlights from
mls.m

4.4

4.4 | 5 ratings Rate this file 26 Downloads (last 30 days) File Size: 3.55 KB File ID: #1246

mls.m

by Christopher Brown

 

17 Jan 2002 (Updated 18 Jan 2002)

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

| Watch this File

File Information
Description

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.

Acknowledgements
This submission has inspired the following:
MLS generator
MATLAB release MATLAB 5.3 (R11)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (6)
29 Jul 2003 Cristian GutiƩrrez

Excellent code for a binary pseudorandom sequence generation.
The use of MLS forms a powerful method for the accurate determination of Impulse Response in LTI system.

11 Jan 2004 Basile Graf

Just what you expect from it. Thanx.

07 Nov 2005 Lukasz Panek

this tool works fine and is easy to use.

14 Dec 2006 Tim Streeter

There are couple issues with this MLS sequence generator. The primitive polynomial list has a few errors (lines 29-180). This list is not necessary given that Matlab has a built in function to generate these (gfprimdf.m) For example, the 7th order MLS
sequence output is incorrect. Given the use of the tap list, this code is slightly inefficient.

14 Dec 2006 Tim Streeter

I apologize... I made a mistake in the stating that there is an error in the primitive polynomial list. Those tap lists are correct.

18 Feb 2007 Wa Yuen

very efficient code

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
sound Christopher Brown 22 Oct 2008 06:40:17
maximum Christopher Brown 22 Oct 2008 06:40:17
length Christopher Brown 22 Oct 2008 06:40:17
sequence Christopher Brown 22 Oct 2008 06:40:17
pseudorandom Christopher Brown 22 Oct 2008 06:40:17
noise Christopher Brown 22 Oct 2008 06:40:17

Contact us at files@mathworks.com