Skip to content

JuliaGNSS/ViterbiDecoder.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

ViterbiDecoder

This package provides a Viterbi decoder as well as a convolutional encoder.

The first argument is the constraint, the second argument are the polynomials and the third argument are the bits provided as a String.

Examples

viterbi_decode(3, [7, 5], "0011100001100111111000101100111011") == "010111001010001"
# With one error bit
viterbi_decode(3, [7, 5], "0011100001100111110000101100111011") == "010111001010001"

viterbi_decode(3, [6, 5], "011011011101101011") == "1001101"
# With two error bits
viterbi_decode(3, [6, 5], "111011011100101011") == "1001101"

viterbi_decode(7, [91, 117, 121], "1110101100011110111100011011") == "10110111"

convolutional_encode(3, [7, 5], "010111001010001") == "0011100001100111111000101100111011"

About

Viterbi decoder and convolutional encoder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages