HUFFMANCODING

coding based on huffman method

Vous suivez désormais cette soumission

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

Citation pour cette source

Alireza LIAGHAT (2026). HUFFMANCODING (https://fr.mathworks.com/matlabcentral/fileexchange/22442-huffmancoding), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.3.0.0

compatible to MATLAB v:2010a

1.0.0.0