Shannon-fano encoder
%made by Jamil Kasan from Manila, Philippines
%input = row matrix of occurrences or probabilities e.g. ss=[1 3 4 5] or
%ss=[0.4 0.3 0.2 0.1]
%outputs = string of codewords,average codeword length
to try its credibility, play sf encoder (need to change the location of ff7.txt)
sfencoderkasan is a function file for shannon-fano encoder
its input is a row matrix of occurrences or probabilities
its outputs are codex which is the codewords and T which is the average codeword length
Citar como
Jamil Kasan (2024). Shannon-fano encoder (https://www.mathworks.com/matlabcentral/fileexchange/41727-shannon-fano-encoder), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- FPGA, ASIC, and SoC Development > Vision HDL Toolbox >
- Image Processing and Computer Vision > Vision HDL Toolbox >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |