File Exchange

image thumbnail

Convolutional Encoder/Decoder of Rate 1/N Codes

version 1.6 (481 KB) by

MATLAB code that tests a rate 1/N Convolution Encoder and Decoder schemes via a Trellis map.



View License

In this project, we seek to minimize the gap-to-capacity (given by Shannon’s theoretical limit) of a rate 1/3 code (also can be modified for 1/N). This is done via a convolutional encoder/decoder for varying memory elements as well for both soft and hard decoding scheme. We show that the gap-to-capacity can be minimized with respect to the suboptimal un-coded code word or a (3,1) repetition code. Although better schemes are available such as LDPC and turbo codes, we have chosen the convolutional code for its simplicity and generality. Our model of transmission is binary-input AWGN channel. Also, I attached my paper to demonstrate how the code can be easily modified for other rates and different varying element sizes. Provides detail overview of Convolution Coding scheme. If you decide to use this code, please cite the paper and this code in the proper manner.
For More Information:

Comments and Ratings (3)


it does not work for K = 6 and K = 8

i didnt get output in matlab 2008a

Shawn Lankton

Shawn Lankton (view profile)

The codes worked great. They helped me complete my coding theory project. The generality of the functions was particularly helpful. Thanks for the awesome work.



Remove link to plagiarized article


Updated note on plagiarism work


Updated a plagiarized note for other authors.


Update Description


Update description


Update description.

MATLAB Release
MATLAB 7.6 (R2008a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today