Example of Lempel Ziv coding
[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.
Citar como
Andrea Cirillo (2024). Example of Lempel Ziv coding (https://www.mathworks.com/matlabcentral/fileexchange/29772-example-of-lempel-ziv-coding), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |