Matlab Huffman code
This Matlab code generates a Huffman codebook for a specified set of symbol probabilities.
Copyright © 2010 Robert G. Maunder. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
April 27th, 2011 at 4:13 am
thank you very much
June 9th, 2011 at 11:11 pm
i need this realy.
thx for help
September 16th, 2011 at 9:21 pm
thank you very much.real i want this code.
October 13th, 2011 at 8:19 am
thank you very much sir
March 2nd, 2012 at 7:34 am
thnk you
May 11th, 2012 at 5:48 pm
Thank you
November 29th, 2012 at 2:49 am
Thanks for your help
March 4th, 2013 at 5:31 pm
Thank you for the code. It’s awesome!
May 10th, 2013 at 11:51 am
Can you plz tell me how to write Huffman code in matlab with user entering the probabilities and asking the user to enter the base for getting the huffman code.
May 10th, 2013 at 5:31 pm
Hi Pooja Shah,
The Matlab code that you can download from this page will generate a Huffman codebook for you, when you provide it with the symbol probabilities. Here is some code a Huffman encoder and decoder…
http://users.ecs.soton.ac.uk/rm/wp-content/HuffmanEncoder.m
http://users.ecs.soton.ac.uk/rm/wp-content/HuffmanDecoder.m
Take care, Rob.