How to design viterbi decoding for punctured codes

2 views (last 30 days)
How to give input in convolutional encoder

Answers (1)

Vaibhav
Vaibhav on 22 Dec 2023
Hi Sowmika
I understand that you would like to know about how to give input to convolutional encoder and designing Viterbi decoding for punctured codes.
The "convenc" function and "comm.ConvolutionalEncoder" system object are two different ways to encode binary data using a convolutional encoder in MATLAB.
The "convenc" function is a built-in MATLAB function that encodes binary data using a convolutional encoder specified by a trellis structure. It's a function-based approach.
On the other hand, the "comm.ConvolutionalEncoder" system object is a MATLAB system object representing a convolutional encoder. It's an object-oriented approach, and you can create an encoder object with specific properties, such as the trellis structure.
The "convencpunc" function is another way to encode binary data using a convolutional encoder in MATLAB. This function is similar to the "convenc" function, but it also allows you to specify a puncture pattern to enable higher rate encoding than unpunctured coding.
To design Viterbi decoding for punctured codes, "vitdec" function can be used. This function applies the Viterbi algorithm to decode each symbol of the punctured coded input message. You can specify the convolutional coding trellis, traceback depth, operating mode, decision type, puncture pattern, and erasure pattern (if needed) as input arguments.
You can refer to the following MathWorks documentation links to know more about "Convenc" and "comm.ConvolutionalEncoder":
You can refer to the following MathWorks documentation links to know more about decoding convolutionally encoded data using Viterbi algorithm and punctured convolutional coding:
Hope this helps!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!