This is an implementation of (7,4) hamming code using belief propagation
Given a parity-check matrix,
pchkArray = [1, 1, 1, 0, 1, 0, 0;
0, 1, 1, 1, 0, 1, 0;
1, 0, 1, 1, 0, 0, 1];
for (7,4) hamming code
and noiseCodeword = [1, 0, 1, 1, 0, 0, 0]; with 1 bit error
The belief propagation algorithm is used to correct the error.
Cite As
Shuang Wang (2024). This is an implementation of (7,4) hamming code using belief propagation (https://www.mathworks.com/matlabcentral/fileexchange/39669-this-is-an-implementation-of-7-4-hamming-code-using-belief-propagation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |