Arithmetic code to encode a string of char.
Version 1.0.0.0 (1.22 KB) by
Andrea Cirillo
Arithmetic code to encode a string of char.
It is a matlab function that codes a string of char with Arithmetic coding.
res=arithmetic_code(alphabet, distr_pr, string)
'alphabet' is a vector that contains the char used in the string 'string'; 'string' is the string to codify; 'distr_pr' is the probability distribution of the alphabet's elements.
Cite As
Andrea Cirillo (2024). Arithmetic code to encode a string of char. (https://www.mathworks.com/matlabcentral/fileexchange/29748-arithmetic-code-to-encode-a-string-of-char), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Characters and Strings in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |