Arithmetic code to encode a string of char.

Arithmetic code to encode a string of char.

You are now following this Submission

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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0