| Communications Toolbox | ![]() |
The example below performs arithmetic encoding and decoding, using a source whose alphabet has three symbols.
seq = repmat([3 3 1 3 3 3 3 3 2 3],1,50); counts = [10 10 80]; code = arithenco(seq,counts); dseq = arithdeco(code,counts,length(seq));
| Representing Arithmetic Coding Parameters | Selected Bibliography for Source Coding | ![]() |
© 1994-2005 The MathWorks, Inc.