You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
[dec_cod, code_bin, code_book] = lempel_ziv(alf, str)
It's a function with three output variables and two input variables.
'dec_cod' is the decimal code that codify the input string 'str'.
'code_bin' is the binary code of the string obtained from the 'dec_cod' conversion.
'code_book' is the code-book used for the Lempel-Ziv algorithm.
'alf' is the alphabet that contains the char used to create the string 'str'.
'str' is the string to codify with the algorithm.
Cite As
Andrea Cirillo (2026). Example of Lempel Ziv coding (https://se.mathworks.com/matlabcentral/fileexchange/29772-example-of-lempel-ziv-coding), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.62 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
