This code implements the Viterbi algorithm for convolutional codes. The inputs are the received sequence (original encoded sequence plus noise) and the encoder state diagram. The outputs are the original encoded sequence and the decoded sequence.
The encoder state diagram must provided via a matrix 3-dimensional matrix H. A pdf file is also provided indicating how to generate the matrix H as example considering a (2,1,2) convolutional encoder.
Henry Carvajal (2021). Viterbi Algorithm for Convolutional Codes (https://www.mathworks.com/matlabcentral/fileexchange/85513-viterbi-algorithm-for-convolutional-codes), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!