Code covered by the BSD License  

Highlights from
arcoDemo

Be the first to rate this file! 7 Downloads (last 30 days) File Size: 6.18 KB File ID: #34267
image thumbnail

arcoDemo

by

 

Interactive visualization of Elias and arithmetic coding.

| Watch this File

File Information
Description

arcoDemo provides an interactive visualization of two algorithms for compression of data streams: arithmetic coding and its predecessor, Elias coding.

The demonstration allows a user to specify the source alphabet, the underlying probability distribution, and the precision of the floating point arithmetic, in which the algorithms are to be implemented.

Examples:
p = [0.4 0.3 0.2 0.05 0.05]; arcoDemo(p,53,'arithmetic',[],1);
arcoDemo(p,24,'elias');
arcoDemo(p,24,'elias',{'l','e','o','h','!'});

MATLAB release MATLAB 7.11 (R2010b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us