Visualization of Huffman Encoding Trees

版本 1.0.0.0 (24.5 KB) 作者: Jason Agron
Simple program that builds and visualizes a huffman encoding tree for a user-defined string
4.2K 次下载
更新时间 2008/5/8

查看许可证

This program demonstrates how Huffman Encoding works by performing huffman encoding on a user-defined string. The program builds the huffman tree based on user-input and builds a complete huffman tree and code book using built-in MATLAB functions.

A user can edit the string to encode by editing the value of "my_str". The user also has the ability to calculate character probabilities manually or automatically based on ASCII values by changing the "auto_prob" flag and the "prob_dist" variables.

引用格式

Jason Agron (2025). Visualization of Huffman Encoding Trees (https://www.mathworks.com/matlabcentral/fileexchange/19844-visualization-of-huffman-encoding-trees), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Large Files and Big Data 的更多信息

Community Treasure Hunt

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

Start Hunting!

huffman_encode/html/

版本 已发布 发行说明
1.0.0.0