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: 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
baseVal: any prime number up to 31