Huffman Encoding and Decoding
Version 1.0.0.0 (2.08 KB) by
Sazzad Sayyed
Encodes and decodes a file and creates character histogram with it.
This implements an easy and efficient Huffman coding algorithm and brute force decoding algorithm. The char_hist function creates the histogram of symbols and read_file function reads the data to be compressed. Here we are assuming text data.
Cite As
Sazzad Sayyed (2024). Huffman Encoding and Decoding (https://www.mathworks.com/matlabcentral/fileexchange/67441-huffman-encoding-and-decoding), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2017b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Source Coding in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Huffman encoding and decoding
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |