huffy.m

The Huffamn encoder
309 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 (2024). 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!
Version Published Release Notes
1.0.0.0