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.9.0 (R2009b)
(C) Written by Giedrius T. Buracas, SNL-B, Salk Institute
and Center for Functional MRI, UCSD
Cita come
Giedrius Buracas (2025). m-sequence generation program using a search algorithm (https://it.mathworks.com/matlabcentral/fileexchange/27133-m-sequence-generation-program-using-a-search-algorithm), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
