Code covered by the BSD License  

Highlights from
Kasami Sequences, m-sequences, Linear Feedback Shift Registers

5.0

5.0 | 2 ratings Rate this file 29 Downloads (last 30 days) File Size: 17.06 KB File ID: #22716

Kasami Sequences, m-sequences, Linear Feedback Shift Registers

by Travis Wiens

 

18 Jan 2009 (Updated 17 Jul 2009)

LFSRs are used to generate sequences, including MLS and sets of Kasami sequences.

| Watch this File

File Information
Description

Linear feedback shift registers (LFSR) are a simple method of generating sequences, including pseudorandom number sequences. The LFSR code provided is very unrestricted, allowing for any feedback polynomial, initial state or decimation factor. The code is written for a 32 bit LFSR, but minor alterations allow for 8-64 bit versions. A equivalent mex file is included, which runs approximately 100 times faster than the m file.

Some of these LFSR sequences have special properties; a maximal length sequence (MLS or m-sequence) has a large autocorrelation at zero lag, with near zero autocorrelation elsewhere. This 'impulsive' autocorrelation function allows one to quickly determine the impulse response of a linear time invariant (LTI) system. An example of this system identification is provided.

Maximal length sequences are also the base of sets of sequences with good correlation properties. One such set is the small set of Kasami sequences. These sequences have small off-peak autocorrelations and also small cross correlations between sequences. This property allows for code-division multiplexing as well as accurately determining the arrival time of a transmitted sequence, even in the presence of other interfering transmissions. An example of this, too, is provided.

 See http://blog.nutaksas.com for more.

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
06 Feb 2009 Dmitry Hizbullin

Perfect. Great thanks.

08 Oct 2009 Peter Ingram

Great. Just what I needed.

Please login to add a comment or rating.
Updates
17 Jul 2009

Removed GPL per Mathworks' requirements.

Tag Activity for this File
Tag Applied By Date/Time
maximal length sequence Travis Wiens 19 Jan 2009 10:47:20
mls Travis Wiens 19 Jan 2009 10:47:20
msequence Travis Wiens 19 Jan 2009 10:47:20
linear feedback shift register Travis Wiens 19 Jan 2009 10:47:20
lfsr Travis Wiens 19 Jan 2009 10:47:20
system identification Travis Wiens 19 Jan 2009 10:47:20
impulse response Travis Wiens 19 Jan 2009 10:47:20
kasami Travis Wiens 19 Jan 2009 10:47:20
kasami sequences Travis Wiens 19 Jan 2009 10:47:20
code division Travis Wiens 19 Jan 2009 10:47:20
communications Travis Wiens 19 Jan 2009 10:47:20
control design Travis Wiens 19 Jan 2009 10:47:20
measurement Travis Wiens 19 Jan 2009 10:47:20
signal processing Travis Wiens 19 Jan 2009 10:47:20
cdma Travis Wiens 19 Jan 2009 10:47:20
sequences Travis Wiens 19 Jan 2009 10:47:20
kasami codes Dmitry Hizbullin 06 Feb 2009 01:55:12
kasami gerard beta 12 Dec 2009 09:04:06
cdma asdf dfg 01 Feb 2011 02:38:13

Contact us at files@mathworks.com