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
Citar como
Alireza LIAGHAT (2026). HUFFMANCODING (https://es.mathworks.com/matlabcentral/fileexchange/22442-huffmancoding), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2008b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Data Import and Analysis > Large Files and Big Data >
- Signal Processing > Wavelet Toolbox > Denoising and Compression >
Más información sobre Large Files and Big Data en Help Center y MATLAB Answers.
Etiquetas
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
