Solved

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

Question 6

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 ExamLex AI

Answered by ExamLex AI

(a) Using Arithmetic Coding, the resulti...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions