Main Content
arithdeco
Decode binary code by arithmetic decoding
Description
decodes the binary arithmetic code in dseq
= arithdeco(code
,counts
,len
)code
to recover the corresponding
sequence of len
symbols. The input counts
specifies
the statistics of the source by listing the number of times each symbol of the source
alphabet occurs in a test data set. code
must be an output of the
arithenco
function.
Examples
Input Arguments
Output Arguments
Algorithms
The arithdeco
function uses the algorithm described in [1].
References
[1] Sayood, Khalid. Introduction to Data Compression. 2nd ed. San Francisco: Morgan Kaufmann Publishers, 2000.