0
1.1kviews
Given below is the table of 8 symbols and their frequency of occurrences. Give Huffman code for each symbol.
Symbol S1 S2 S3 S4 S5 S6 S7 S8
Frequency 0.25 0.15 0.06 0.08 0.21 0.14 0.07 0.04
1 Answer
0
4views

enter image description here

Symbol Probability Codeword Length of code
S1 0.25 01 2
S2 0.15 001 3
S3 0.06 1010 4
S4 0.08 0000 4
S5 0.21 11 2
S6 0.14 100 3
S7 0.07 0001 4
S8 0.04 1011 4
Please log in to add an answer.

Continue reading...

The best way to discover useful content is by searching it.

Search