Professional Documents
Culture Documents
1. Dual spaces. Let V be the vector space of polynomials over GF(2), and let W be the subspace
of polynomials with even parity. (Fact: W = {f (x) : f (1) = 0}.) Find W and W .
Solution (5 points)
Even though W is a proper subspace of V , its orthogonal complement W contains only the zero
polynomial. To see this, let f (x) be any nonzero polynomial of degree m. Then xm+1 + xm is a
polynomial of even parity and f (x) (xm+1 + xm ) = 1, hence f (x) is not in W . Thus W = {0}
and W = V , the set of all polynomials.
In an infinite dimensional vector space, W may be a proper subset of W .
2. Binary LBC. (Blahut #3.1) The generator
G= 0
0
0 1 0 1 1
1 1 1 0 1 .
1 1 0 1 0
a. Find the generator matrix and the parity-check matrix for an equivalent systematic code.
Note: the systematic generator matrix is of the form [ P | I ].
b. List the vectors in the orthogonal complement of the code.
c. Form the standard array for the code. Hint: write small.
d. How many codewords are there of weights 0, 1, . . . , 6 ?
e. Find the codeword with 101 as data symbols.
f. Decode the received word 111001.
Solution (30 points)
a. We use elementary row
form [ P | I ].
1 0 1 0
G=0 1 1 1
0 1 1 0
1 1
1
0 10
1 0
0
1
0
0
1
1 0 1 1 0
G= 0 1 1 0 1
1 1 0 0 0
1 0 0 0 1
1 1 1 0 1
1 1 0 1 0
1 0 0 0 1
0 1 1 0 0
1 1 0 1 0
0 1 1 0 0
1 1 0 1 0
1 0 0 0 1
0
1 0 0 1 0 1
0 H=0 1 0 0 1 1
1
0 0 1 1 1 0
1 0 0 1 0 1
000000,
100101,
010011,
110110,
H =0 1 0 0 1 1 C =
001110, 101011, 011101, 111000
0 0 1 1 1 0
c. The code C generated by G has 23 = 8 codewords and 26 /23 = 8 cosets. The standard array
consists of eight rows and eight columns and is shown in the table on page 2.
000000
000001
000010
000100
001000
010000
100000
001001
101011
101010
101001
101111
100011
111011
001011
100010
011101
011100
011111
011001
010101
001101
111101
010100
110110
110111
110100
110010
111110
100110
010110
111111
011010
011011
011000
011110
010010
001010
111010
010011
110001
110000
110011
110101
111001
100001
010001
111000
000111
000110
000101
000011
001111
010111
100111
001110
101100
101101
101110
101000
100100
111100
001100
100101
1 0 1 0 1 1
c = mG = [ 1 0 1 ] 0 1 1 1 0 1 = [ 1 1 0 0 0 1 ] ,
0 1 1 0 1 0
which is the sum (bitwise exclusive-or) of the first and third rows of G.
f. The received word 1 1 1 0 0 1 appears in row 5 column 6 of the standard array of part (c).
The coset leader 0 0 1 0 0 0 is the estimated error, and the estimated codeword at the top of
column 6 is 1 1 0 0 0 1 .
e be a nonsystematic generator matrix for a linear block code over GF(5).
3. LBC over GF(5). Let G
2 4 2 2 4 4
e = 0 0 3 0 1 1 .
G
3 1 4 0 4 0
2 3 4 1 1 1
Find the systematic generator matrix G = [ P | I ] and the systematic parity-check matrix H =
e
[ I | P T ] for the linear block code generated by G.
Page 2 of 5
1 2
0 0
e
G
3 1
2 3
1 2
1 2
4 3
3 0
0 0
1 2
3 1
1 1
4 3
1 2
3 1
1 4
1 2 1 1
1 1 2 2
2 4 0 2
3 0 1 1
4 3 0 1
4 0 4 0
3 0 0 2
4 1 1 1
0 0 1 0
1 1 2 2
1 2 0 1
0 1 0 0
3 1 0 0
0 1 1 2
1 1 0 0
0 2 3 3
4 3 1 0
1 0 2 2
1 2 0 1
0 1 0 0
3 1 0 0
0 0 1 2
2 3 0 0
0 0 3 3
1 1 1 0
1 0 0 3
1 2 0 1
0 1 0 0
1 3 0 0
0 0 1 2
1 4 0 0
0 0 0 1
2 2
0 0
(normalize row 1, clear column
1 2
3 3
2 2
0 0
(normalize row 2, clear column
1 2
3 3
0 3
0 0
(normalize row 3, clear column
1 2
0 2
0 0
0 0
(normalize row 4, clear column
1 0
0 1
3)
4)
5)
6)
= G (systematic)
The parity-check portion of the systematic generator matrix G is
1 1
1 2
P =
1 3
1 4
Therefore the systematic parity-check matrix over GF(5) is
1 0 1 1 1 1
1 0 4 4 4 4
T
H = [ I | P ] =
=
.
0 1 1 2 3 4
0 1 4 3 2 1
4. Weight distribution of Golay codes. (Computational) In 1949 Marcel Golay found the last interesting perfect block codes, the (23,12,7) binary code and the (11,6,5) ternary code.
a. The first row of a generator matrix for the (23,12) binary Golay code is
[1 0 1 0 1 1 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0].
The other 11 rows are right shifts of this 23-tuple. Find the weight distribution of the code.
b. The first row of a generator matrix for a (11,6) ternary Golay code is
[1 0 1 1 1 1 0 0 0 0 0 ] = [ 2 0 1 2 1 1 0 0 0 0 0 ] .
The other 5 rows are right shifts of this 11-tuple. Find the weight distribution of the code.
Solution (15 points)
a. The weight enumerator of the (23,12) binary Golay code is
A(x) = 1 + 253x7 + 506x8 + 1288x11 + 1288x12 + 506x15 + 253x16 + x23 .
Homework #4 Solutions
Page 3 of 5
Page 4 of 5
n2k1
12 n for large k .
2k 1
This inequality is known as the Plotkin bound. The Plotkin bound is achieved by maximumlength codes and by the Reed-Muller codes R(1, m) of order 1 and blocklength 2m .
Homework #4 Solutions
Page 5 of 5