This is an implementation of (7,4) hamming code using belief propagation

An implementation of (7,4) hamming code using belief propagation
903 Downloads
Updated 2 Jan 2013

View License

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
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0