This entry was posted
on Wednesday, August 26th, 2009 at 7:38 pm and is filed under Resources.
You can follow any responses to this entry through the RSS 2.0 feed.
You can skip to the end and leave a response. Pinging is currently not allowed.
3 Responses to “Matlab code for repeat accumulate codes”
My Matlab code treats the RA code as a serial concatenation of a repetition code and a convolutional code.
You can reduce the coding rate by changing the number of repetitions performed by the repetition encoder - in the decoder, you just need to add all of the apriori LLRs for the repeated bits, in order to obtain the aposteriori LLRs. You can then convert to extrinsic LLRs by subtracting the apriori LLRs from the aposteriori LLRs.
You can increase the coding rate by performing puncturing at the output of the convolutional encoder. In the decoder, you just need to fill in the gaps left by these punctured bits using LLRs having the value of zero.