Arithmetic Coding and decoding

Encodes a message using arithmetic coding and decodes it
1,7K descargas
Actualizado 8 oct 2012

Ver licencia

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.

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2008a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Encryption / Cryptography en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0