

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Information Theory HW #5: Assigned October 17 2003, due October 27,2003. 1) Lempel Ziv problem This problem concerns the Lempel-Ziv (LZ) data compression algorithm. Answer parts a) and b) below. The sources and codes in parts a) and b) are unrelated. a) Encoding. Given that the LZ encoder starts with the following table, construct the table and indicate the transmitted codewords for the source output X. You may assume that the source outputs either a or b. (You can number the codewords 1,2,3... ) X (^) C(X) a b
Source output: X= a a a a b b a b b b a a a b a a a a b) Decoder. In this part you will be the decoder. Given the following sequence of codewords, decode it, and construct the table as you go along. You will start with the same table the encoder starts with and assume the source outputs two letters c and d. X (^) C(X) 1 2 c d Codeword sequence to be decoded: 1 2 1 3 4 5 1 7 3 (decode this message and indicate whether this is a valid encoding. If it is not, give the correct codeword for the source output). 2) Arithmetic coding problem Consider a binary source that outputs a’s and b’s independently with probabilities P(a) = 0.1 and P(b) = 0. Using arithmetic coding, find the codeword for the following source output and compare it with the source entropy: a b a b b b a a
Find the capacity of the Z-channel and the maximizing input probability distribution. 4)___ ___ Find the channel capacity of the following discrete memoryless channel: _ _ X Y
where Pr [Z = 0] =0.5 and Pr [Z = a]=0.5 and ‘+’ is standard (real) addition. The alphabet for X is {0,1}. Assume that Z is independent of X. Observe that the channel capacity depends on the value of a.
addition, and
marginal probabilities
necessarily independent. Let
information per channel use exceeds C namely, show that
p ( X 1 , X (^) 2 ,..., X (^) n )