Matlab RA code

This Matlab code lets you draw EXIT chart, iterative decoding trajectories and BER plots for a half-rate repeat accumulate code.

main_EXIT.m draws an EXIT chart for a half-rate repeat accumulate code.
main_traj.m draws iterative decoding trajectories for a half-rate repeat accumulate code.
main_ber.m draws a BER plot for a half-rate repeat accumulate code.
conv_encoder.m provides an encoder function for a unity-rate convolutional code.
bcjr_decoder.m provides a soft-in soft-out decoder function for a unity-rate convolutional code.
ra_encoder.m provides an encoder function for a half-rate repeat accumulate code.
ra_decoder.m provides an iterative decoder function for a half-rate repeat accumulate code.
jac.m provides a function for performing the exact, lookup-table-aided and approximate Jacobian logarithms.
generate_llrs.m provides a function for generating Gaussian distributed a priori LLRs.
measure_mutual_information_histogram.m measures the mutual information of some LLRs using the histogram method.
measure_mutual_information_averaging.m measures the mutual information of some LLRs using the averaging method.

You can download the Matlab code here.

Copyright © 2009 Robert G. Maunder. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

5 Responses to “Matlab RA code”

  1. Nyakec Says:

    Hello,
    Please I am looking for a chase algorithm code, can you get me one, preferably in MATLAB.

  2. Rob Says:

    Hello Nyakec,

    I’m afraid that I don’t have any Matlab code for the Chase algorithm…

    Take care, Rob.

  3. Amir Says:

    Thank you very much
    The files and Their comments were very useful.

  4. Richard Says:

    Hello,

    I am currently working on BP algorithm for RA code, but my programming results is not correct. Do you have any reference or code using BP decoding?

    Thank you.

  5. Rob Says:

    Hello Richard,

    BP decoding of an RA code uses a factor graph made of variable nodes and check nodes, like in an LDPC code. I have some Matlab code for variable and check node decoders at…
    http://users.ecs.soton.ac.uk/rm/wp-content/LDPC.zip
    You can read some discussion about this code at…
    http://users.ecs.soton.ac.uk/rm/resources/matlabexit/#comment-8434

    Take care, Rob.

Leave a Reply

Security Code: