golaycodec
Version 1.2.0.0 (4,2 ko) par
Ben Petschel
encode/decode a binary array using the Golay code with error correction
% Example: encode a message, add transmission errors and decode
x=round(rand(1,12)); % random message
y=golaycodec(x); % encode
err=zeros(1,23);err(ceil(23*rand(1,3)))=1; % 3 random errors
y1=xor(y,err); % add transmission error
[x1,err1]=golaycodec(y1); % decode
% should have x1==x and err1==err
Citation pour cette source
Ben Petschel (2024). golaycodec (https://www.mathworks.com/matlabcentral/fileexchange/23341-golaycodec), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2007b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Data Import and Network Parameters dans Help Center et MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.2.0.0 | code cleanup; changed encoding polynomial |
||
1.1.0.0 | added support for extended Golay codes |
||
1.0.0.0 |