image thumbnail

huffy.m

version 1.0.0.0 (1.72 KB) by Aniruddha Phatak
The Huffamn encoder

308 Downloads

Updated 28 Aug 2014

View License

The function displays the Huffman tree and the Huffman code for the input probabilities.
The input probabilities must be a row vector adding up to 1. eg a=[0.5 0.3 0.2]

Cite As

Aniruddha Phatak (2022). huffy.m (https://www.mathworks.com/matlabcentral/fileexchange/47672-huffy-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!