3
9.9kviews
Calculate the efficiency of Huffman code for the following symbol whose probability of occurrence is given below Explain Huffman code with example

enter image description here

Subject: Digital Image Processing

Marks: 10,M

Difficulty: Medium / High

1 Answer
0
257views

Solution:

enter image description here

$ \begin{array}{cc} \text { Symbol } & \text { Huffman code. } \\ a_1 & 1 \\ a_2 & 01 \\ a_3 & 001 \\ a_4 & 000. \end{array} $

$ \begin{aligned} \text { Length } &=\sum(\text { number of bits for each symbol }) \times \text { probabit …

Create a free account to keep reading this post.

and 5 others joined a min ago.

Please log in to add an answer.