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.
July 19th, 2012 at 12:13 pm
Hello,
Please I am looking for a chase algorithm code, can you get me one, preferably in MATLAB.
July 19th, 2012 at 4:31 pm
Hello Nyakec,
I’m afraid that I don’t have any Matlab code for the Chase algorithm…
Take care, Rob.
August 1st, 2012 at 12:24 pm
Thank you very much
The files and Their comments were very useful.
April 7th, 2013 at 1:50 pm
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.
April 7th, 2013 at 2:26 pm
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.