Average code length and entropy
Show older comments
Hello,
I have an uin16 vector and I got the Huffman code from the built-in functions in MATLAB. The thing is that the entropy of this file is different from the average code length that I've got from the Huffman code. Isn't the average code length supposed to be equal to the entropy of the file?
Thanks.
Accepted Answer
More Answers (0)
Categories
Find more on Denoising and Compression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!