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]. Compute the third, fourth and fifth order extension probabilities. Using the built-in algorithm, derive the Huffman Code for each extension. 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,EXCEL OR MATLAB
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].
Compute the third, fourth and fifth order extension probabilities.
Using the built-inalgorithm , derive the Huffman Code for each extension.
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,EXCEL OR MATLAB
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)