File Exchange

image thumbnail

Message Passing Algorithm for Decoding Binary LDPC Codes

version 1.2.0.0 (17 KB) by Alan ZHOU
An MATLAB class that implements message passing decoding for binary LDPC codes.

11 Downloads

Updated 26 Sep 2014

View License

The mpdecoder project provides an MATLAB class mpdecoder that allows doing message passing (MP) decoding of binary LDPC codes. The MATLAB class mpdecoder actually calls the C++ class MPDecoder through the MATLAB MEX interface, which ensures its high decoding speed.

A standalone MATLAB LDPC decoder mpdec is also provided to give a clear view of how the algorithm works. No C/C++ is involved.

Please start from the documentation file 'readme.txt'.

A MSVC++ project demonstrating the use of the C/C++ MPDecoder class is available here: https://github.com/alanzhou/MPDec

Comments and Ratings (5)

You have a problem when there is an LLR message --> check node = 0 in the 'mpdec' method. The problem is dividing by zero.
You can fix it by iterating over all the incoming messages to a check node except one, and iterating over that one too, instead of taking the product of all of them, and iterating once to divide by the iterated message value.

sir,
Is it implemented fully in matlab or a wrapper of c++ is included for integration purpose.
please try to give the flowchart if possible.
thank you,

bo liao

Updates

1.2.0.0

Add a note that A MSVC++ project demonstrating the use of the C/C++ MPDecoder class is available on GitHub: https://github.com/alanzhou/MPDec.

1.1.0.0

v2.3
11:11 PM 7/30/2014
1. Code optimized.

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux