Solved

Suppose We Have a Source Consisting of Two Symbols XX And YY

Question 3

Essay

Suppose we have a source consisting of two symbols, XX and YY , with probabilities PX=2/3P_{X}=2 / 3 and PY=1/3P_{Y}=1 / 3 .
(a) Using Arithmetic Coding, what are the resulting bitstrings, for input XXXXXX and YXXYXX ?
(b) A major advantage of adaptive algorithms is that no a priori knowledge of symbol probabilities is required.
(1) Propose an Adaptive Arithmetic Coding algorithm and briefly describe how it would work. For simplicity, let's assume both encoder and decoder know that exactly k=3k=3 symbols will be sent each time.
(2) Assume the sequence of messages is initially 3XXX s3 XXX \mathrm{~s} , followed by 11YYY s11 YYY \mathrm{~s}- the sequence is XXXXXXXXXYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYX X X X X X X X X Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y YYYY Y Y .
Show how your Adaptive Arithmetic Coding algorithm works, for this sequence, for encoding: (i) the first XXXXXX , (ii) the second XXXXXX , and (iii) the last YYYYYY .

Correct Answer:

Answered by Quizplus AI

Answered by Quizplus AI

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents