Coding Theory Homework: Hamming Distance, Bounds, and MacWilliams Matrix - Prof. Faramarz , Assignments of Electrical and Electronics Engineering

Problems from a coding theory course at the georgia institute of technology, school of electrical and computer engineering, focusing on hamming distance, hamming bounds, and macwilliams matrix. Students are required to solve problems related to computing hamming distance between vectors, proving triangle inequality, computing hamming bounds for different pairs of (n, t), computing probabilities of decoder success, error, and failure for hamming codes, computing macwilliams matrices for specific values of n, and using macwilliams identities to find the number of codewords of weight three in a hamming code.

Typology: Assignments

Pre 2010

Uploaded on 08/05/2009

koofers-user-f5h
koofers-user-f5h 🇺🇸

5

(1)

9 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
GEORGIA INSTITUTE OF TECHNOLOGY
School of Electrical and Computer Engineering
ECE 6606
Coding Theory
HWK #2, Due: Friday June 5
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 {c1,...,cM}of length n, which
is capable of correcting terrors, we have
M2n
V2(n, t)
where V2(n, t) denotes the discrete “Volume” of an n-dimensional Hamming sphere of
radius t.
(a) Compute the Hamming bound on Mfor 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 PFbe 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:
H=
0111100
1011010
1101001
1111111
1
pf2

Partial preview of the text

Download Coding Theory Homework: Hamming Distance, Bounds, and MacWilliams Matrix - Prof. Faramarz and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

GEORGIA INSTITUTE OF TECHNOLOGY

School of Electrical and Computer Engineering

ECE 6606

Coding Theory

HWK #2, Due: Friday June 5

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:

H =

  

  

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.