

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!


Problem 1-4: Solve the questions 2,11,12,21 from Chapter 4 of the textbook.
Problem 5: Prove that the Hamming distance dH (x, y) satisfies the triangle inequality, i.e., for any three vectors x, y, and z, we have: dH (x, y) ⤠dH (x, z) + dH (z, y)
Problem 6: Hamming bound states that for a binary code {c 1 ,... , cM } of length n, which is capable of correcting t errors, we have
M ⤠2 n V 2 (n, t) where V 2 (n, t) denotes the discrete āVolumeā of an n-dimensional Hamming sphere of radius t. (a) Compute the Hamming bound on M for the following pairs of (n, t):(3,1), (5,2), (7,3), (9,4), .... (b) Do you see a pattern? If so, state the generalization and prove that it is true.
Problem 7: Let PS , PE , and PF be the āprobability of decoder successā, āprobability of decoder errorā, and āprobability of decoder failureā, respectively. In this problem you are asked to actually compute these three probabilities, as a function of p, for the following two codes on a binary symmetric channel with crossover probability p. (a) The (7,4) Hamming code, whose decoder is designed to correct all error patterns of weight 0 and 1, and no others. (b) The expurgated (7,3) Hamming code, whose decoder is designed to correct all error patterns of weight 0 and 1, and no others. Note that the parity-check matrix for this code is:
  
  
Problem 8: This problem concern with the (n + 1) Ć (n + 1) MacWilliams matrix M (n).
(a) Explicitly compute the MacWilliams matrices M (3)^ and M (4). (b) Find the row sums of the matrix M (3)^ and the row sums of the matrix M (4). Make a conjecture as to what the row sums for M (n)^ will be in general. (c) Prove the conjecture you made in part (b).
Problem 9: Consider the general (2m^ ā 1 , 2 m^ ā 1 ā m) Hamming code. Assume that in the dual code, which is a (2m^ ā 1 , m) code, all nonzero codewords have weight 2mā^1. Use MacWilliams identities to find a general formula for the number of the codewords of weight three in the original Hamming code. So I can check your work, please use your formula to compute this number for m = 3, 4 and 5.