written 8.4 years ago by | • modified 4.5 years ago |
Design a minimum variance Huffman code for a source that put out letter from an alphabet A={ $a_1, a_2, a_3, a_4, a_5, a_6 $} with $P(a_1)= P(a_2)=0.2, P(a_3)=0.25, P(a_4)=0.05, P(a_5)=0.15, P(a_6)=0.15$.Find the entropy of the source, avg. length of the code and efficiency. Also comment on the difference between Huffman code and minimum variance Huffman code.