Galois Field Array to Exponential Array Conversion
This code converts a Galois Field array created using GF(2^m) for a given primitive polynomial into the 'exponential' notation, which you can use with gfrepcov() to binary if you wish.
Uses the gf2dec() function internally.
Example usage:
>> genpoly = rsgenpoly(15,11)
genpoly = GF(2^4) array. Primitive polynomial = D^4+D+1 (19 decimal)
Array elements =
1 13 12 8 7
>> gf2exp(genpoly, 4, primpoly(4))
ans =
0 13 6 3 10
Showing this RS Polynomial is of form: X^4 + A^13*X^3 + A^6*X^2 + A^3*X + A^10, which is how you see it displayed in text books etc.
Cita come
Colin O'Flynn (2025). Galois Field Array to Exponential Array Conversion (https://it.mathworks.com/matlabcentral/fileexchange/34140-galois-field-array-to-exponential-array-conversion), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Language Fundamentals > Data Types >
- Wireless Communications > Communications Toolbox > PHY Components > Error Detection and Correction >
Tag
Riconoscimenti
Ispirato da: Galois Field Array to Decimal Array Conversion
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.