Huffman Code is very easy..
MATLAB has an inbuilt code to get the Huffman coding, i.e. "Huffmanenco"
You can use it...Search fot this function in MATLAB and you will get the required details...
can you please help me to do a huffman compression on a character string. For eg., i need to perform huffman compression on the statement 'This is an eg for huffman compression. This is a working algorithm. This has a significant compression ratio'. Thanks in advance....