0
1.8kviews
Design Huffman Code

For a source which generates letters from an alphabet A=a1,a2,a3,a4,a5 with P(a1)=P(a3)=0.2,P(a2)=0.4,P(a4)=P(a5)=0.1 also calculate entropy of the source.

1 Answer
0
9views

enter image description here

P(a4)=P(a4)+P(a5)=0.1+0.1=0.2

C (a_4 ) = α_1 * 0

C (a_5 ) = α_1 * 1

enter image description here

P (a_3’ ) = P (a_3 ) + P (a_4’ ) = 0.2 + 0.2 =0.4

$C ( a_3 ) …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.