arithdeco
This function decodes the given code using arithmetic coding
Syntax
SEQ = ARITHDECO(CODE, COUNT, LEN)
Description
SEQ = ARITHDECO(CODE, COUNT, LEN) decodes the given received seq (CODE) to message using arithmetic coding.
COUNT is vector which gives information about the source statistics (i.e. frequency of each symbol in the source alphabet)
CODE is the binary arithmetic code
Source Alphabet is assumed to be {1,2,....N} where N is a positive integer
Therefore, sequence should be finite and positive
Length of the COUNT should match the length of the source alphabet
Examples
Authors
Pola Lakshmi Priyanka, IIT Bombay