HUFFMANCODING

coding based on huffman method

您现在正在关注此提交

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 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.3.0.0

compatible to MATLAB v:2010a

1.0.0.0