Huffman Encode Decode with Information Entropy

Paste text selection into app; make Huffman tree and code and calculate information entropy; encode; decode and check.
7 Downloads
Updated 27 Jun 2024

View License

Information_Demo
Information_Demo provides a solution to Huffman emcoding and Information Entropy for a text.
PFDS is used to show PFDS capabilities; see Mathworks PFDS for code and details. Use PFDS 1.1.0
testAll.m gives a complete solution, but is not interactive.
Huffman.mlapp is interactive.
It's fun. Enjoy it.
Copyright 2024 Steve Lenk, see BSD 3-clause for details

Cite As

Steve Lenk (2026). Huffman Encode Decode with Information Entropy (https://uk.mathworks.com/matlabcentral/fileexchange/164666-huffman-encode-decode-with-information-entropy), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with R2019b and later releases
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.1.0

Update to match PFDS 1.1.0

1.0.0