[Huffman Coding] Design a Huffman code for a source with alphabe and corresponding probability… 1 answer below »

[Huffman Coding] Design a Huffman code for a source with alphabeand corresponding probability vector
p = (0.2,0.15,0.13,0.12,0.1,0.09,0.08,0.07,0.06)
Find the average codeword length of the resulting code and compare it with the entropy of the source.