Example of Lempel Ziv coding
版本 1.0.0.0 (1.6 KB) 作者:
Andrea Cirillo
It's a Matlab function to codify a string of chars with Lempel-Ziv compression algorithm.
[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.
引用格式
Andrea Cirillo (2024). Example of Lempel Ziv coding (https://www.mathworks.com/matlabcentral/fileexchange/29772-example-of-lempel-ziv-coding), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2008b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Denoising and Compression 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |