Question: Given a random variable X that takes the values {1, 2, 3, 4, 5, 6} with probabilities 0.1, 0.2, 0.2, 0.3, 0.15, 0.05. 1)
Given a random variable X that takes the values {1, 2, 3, 4, 5, 6} with probabilities 0.1, 0.2, 0.2, 0.3, 0.15, 0.05. 1) Construct a binary Huffman code for X and compute its efficiency. 2) Design a 4-bit Tunstall code and calculate its average length in bits per symbol.
Step by Step Solution
3.42 Rating (149 Votes )
There are 3 Steps involved in it
Step 1 Combine Symbols with the Lowest Probabilities Combine the two symbols with the lowest probabi... View full answer
Get step-by-step solutions from verified subject matter experts
