Arithmetic Coding and decoding

Encodes a message using arithmetic coding and decodes it
1,7K téléchargements
Mise à jour 8 oct. 2012

Afficher la licence

USES MATLAB built-in functions "arithenco" and "arithdeco" to encode and decode respectively the entered String message.

ARITHENCO Encode a sequence of symbols using arithmetic coding.
CODE = ARITHENCO(SEQ, COUNTS) generates binary arithmetic code corresponding to the sequence of symbols specified in the vector SEQ.
The vector COUNTS contains the symbol counts (the number of times each
symbol of the source's alphabet occurs in a test data set) and represents
the source's statistics.

ARITHDECO Decode binary code using arithmetic decoding.
DSEQ = ARITHDECO(CODE, COUNTS, LEN) decodes the binary arithmetic code
in the vector CODE (generated using ARITHENCO) to the corresponding
sequence of symbols. The vector COUNTS contains the symbol counts (the
number of times each symbol of the source's alphabet occurs in a test
data set) and represents the source's statistics. LEN is the number of symbols to be decoded.

Citation pour cette source

Cavin Dsouza (2024). Arithmetic Coding and decoding (https://www.mathworks.com/matlabcentral/fileexchange/38517-arithmetic-coding-and-decoding), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2008a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Encryption / Cryptography dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0.0