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 (2026). 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
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
