The following Matlab project contains the source code and Matlab examples used for m sequence generation program using a search algorithm.
Maximum length sequence assuming distinct
values = baseVal^powerVal-1
[ms]=mseqSearch(powerVal,baseVal)
OUTPUT:
ms: generated maximum length sequence, of length
basisVal^powerVal-1 such that all values occur
with equal frequency=basisVal except zero,
which occurs basisVal-1 times
INPUT:
baseVal: any prime number up to 31
powerVal: an integer
NB: the algorithm is performing search in m-sequence
register space so the calculation time grows with
baseVal and powerVal
Tested on Matlab 7.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

## Project Files:

File Name | Size |
---|---|

license.txt | 1316 |

mseqSearch.m | 2465 |