Huffman Encoding

This function is used to encode the integer 1-D signal S using Huffman coding.
757 Downloads
Updated 10 Oct 2011

View License

The use of Huffman coding functions is simplyfied such that the user needs only to enter the signal to be encoded, and
all other details, like the list of symbols and their probabilities,
are determuned by the program. Moreover, the entropy of the
signal and the coding efficiency are calculated.

The MATLAB built-in functions 'huffmandict' and 'huffmanenco'
together with the function 'my_RLE', which is also built by the
auther and available in the MATLAB central, are used inside this function.

The encoded signal can be decoded by using the MATLAB buikt-in function 'huffmandeco'.

Thanks to Mr. Huffman from the auther of theis m-file.

The auther of this m-file is Abdulrahman Ikram Siddiq 11:22 PM, Monday 10-10-2011

Cite As

Abdulrahman Siddiq (2024). Huffman Encoding (https://www.mathworks.com/matlabcentral/fileexchange/33212-huffman-encoding), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

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