Question: 12.2-4 Consider a message source that generates one of four messages randomly every microsecond. The probabilities of these messages are 0.4, 0.3, 0.2, and 0.1,

12.2-4 Consider a message source that generates one of four messages randomly every microsecond. The probabilities of these messages are 0.4, 0.3, 0.2, and 0.1, respectively. Each emitted message is independent of the other messages in the sequence. (a) Obtain the compact binary code, and find the average length of the codeword. Determine the efficiency and the redundancy of this code. (b) If two consecutive messages are encoded jointly, obtain the compact binary code, and find the average length in the codeword. Determine the efficiency and the redundancy of this code. 12.2-4 Consider a message source that generates one of four messages randomly every microsecond. The probabilities of these messages are 0.4, 0.3, 0.2, and 0.1, respectively. Each emitted message is independent of the other messages in the sequence. (a) Obtain the compact binary code, and find the average length of the codeword. Determine the efficiency and the redundancy of this code. (b) If two consecutive messages are encoded jointly, obtain the compact binary code, and find the average length in the codeword. Determine the efficiency and the redundancy of this code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
