HUFFMANCODING

版本 1.3.0.0 (2.2 KB) 作者: Alireza LIAGHAT
coding based on huffman method
1.6K 次下载
更新 2010/7/1

查看许可证

format : [huffcodes,H,Hav,e]=huffmancoding(p,n)
%inputs: p is the probability of each alphabet symbol
( eg:p=[.3 .2 .2 .2 .06 .04] )
n is an integer that determines number of symbols at each frame
(default:n=1)

%outputs: huffcodes: huffmancodes
H: source entropy
Hav: average entropy for coding
e: codding efficiency

引用格式

Alireza LIAGHAT (2026). HUFFMANCODING (https://ww2.mathworks.cn/matlabcentral/fileexchange/22442-huffmancoding), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2008b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Large Files and Big Data 的更多信息
版本 已发布 发行说明
1.3.0.0

compatible to MATLAB v:2010a

1.0.0.0