Arithmetic Coding and decoding

Encodes a message using arithmetic coding and decodes it
1,7K Downloads
Aktualisiert 8. Okt 2012

Lizenz anzeigen

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.

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R2008a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Encryption / Cryptography finden Sie in Help Center und MATLAB Answers
Version Veröffentlicht Versionshinweise
1.0.0.0