Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This paper deals with Extended Huffman Codes. For instance, for a source emitting two symbols A and B, the second order extension involves coding messages

This paper deals with Extended Huffman Codes. For instance, for a source emitting two symbols A and B, the second order extension involves coding messages AA, AB, BA and BB (2^2 in number). The third order extension involves messages such as AAA,AAB, etc. (2^3 in number). The probabilities of such strings are computed by multiplying the individual probabilities. Calculate third, fourth and fifth order extensions of a source message. 1. Choose an alphabet a set of at least six (6) symbols with assigned probabilities. It can be assigned as

[ A=0.3; B= 0.7; C=0.1;D=0.2;E=0.5;F=0.15].

2. Compute the third, fourth and fifth order extension probabilities.

3. Using the built-in algorithm, derive the Huffman Code for each extension.

4. Compute the following quantities: (i) Average length of the codeword; (ii) The code efficiency; (iii) The Compression Ratio.

Note: I am assuming but needs to be verified that if we need are using 6 symbols A to F. 6^3=216, the 6 to the third power comes from the third extension and so on. AAA, AAB,ABB,AAA, AAF and so on and then AAA=0.3 * 0.3 * 0.3 to get the probability.

HAND CALCULATION OR EXCEL

QUESTION IS COMPLETED

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Elementary Number Theory

Authors: Gove Effinger, Gary L Mullen

1st Edition

1000427129, 9781000427127

More Books

Students also viewed these Mathematics questions

Question

Restate the question being studied as a testable hypothesis.

Answered: 1 week ago

Question

3. What is my goal?

Answered: 1 week ago

Question

2. I try to be as logical as possible

Answered: 1 week ago