arcoDemo
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','!'});
Citar como
Vladimir Bondarenko (2024). arcoDemo (https://www.mathworks.com/matlabcentral/fileexchange/34267-arcodemo), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |