Next: Permutation Equivalent Codes
Up: Basic concepts of linear
Previous: Distances and Weights
In this section, we will learn about 5 new code constructions.
Direct Sum Method
Let
be a
code for
. Define
Example: 1.5.8 in book. Let
which is a
code with generator matrix
and a parity check matrix
. Then,
is a
code with generator matrix
and parity check matrix
Theorem 1.5.1
Let
be a
code and
be a
code. Then
is an
code with generator matrix
and parity check matrix
The
construction
Let
be an
code for
. Then, define a new code as follows:
If
has generator matrix
and parity check matrix
for
, then
has the following generator and parity check matrices:
is a
linear code.
Example: Let
be a
code with
and
a
code with
Then, we can write out
:
Note that
is a
code with
Extending Codes
Let
be an
code. Then, define
Our parity check matrix has the following form:
This is our in-class exercise.
Example 1.5.4 in the book. Let
be a
code with
So,
.
From the book,
Puncturing Codes
Let
be an
code. Let
be a set of positions of size
.
For
, say
, then
so
is a
code (where
and
may not necessarily be
and
, respectively).
Example: 1.55.2 in the book.
Let
be a
code with
Let
,
.
Theorem 1.5.2
Assume that
. For a more general version, we can easily induct on the size of
.
- (i)
- If
,
is an
where
if
has a minimum weight code word which is nonzero in the
coordinate,
otherwise.
- (ii)
- If
, then
is an
code if
has no code word of weight 1 whose nonzero entry is in coordinate
, otherwise, if
,
is an
code with
.
Example:
over
.
is a
code with generator matrix
Dropping the first coordinate,
So,
is a
code. Dropping the third coordinate,
is a
code.
Shortening Codes
Assume
is a
code and
is a set of
positions. Define
Then, the shortened code
is defined as
Example:
Consider a code
which is
and
Let
.
Theorem 1.5.3
Let
be a
code and
be a set of
positions.
- (i)
-
and
.
- (ii)
- If
, then
and
have dimensions
and
, respectively.
- (iii)
- If
and
is the set of coordinates where a minimum weight codeword is nonzero, then
and
have dimension
and
respectively.
Wednesday, June 8 2004
Presenters: M. Stigge, B. Bockelman
Material: 1.6
For Lecture: 37
Problem Set: 35, 40, 41, 43
Exercise 27:
- (a)
-
is the
code with
Let
be the code punctured on the right and then extended on the right.
From this, we can tell that
.
- (b)
an
code. Let
be punctured, then extended. Prove that
if and only if
is even-like.
For the forward direction, suppose
. As
is even-like, then we get instantly that
is even-like.
For the backwards direction, suppose that
is even-like. Then, for all
,
Therefore,
Also, for
where
So we get
On the other hand, suppose that
and
. Then, there exists a
with
. Hence,
and
. Thus,
.
- (c)
- Suppose that
and
. Then,
Thus,
for all
, and
is even-like. By (b),
.
- (d)
- Prove
if and only if
.
For the backwards direction, assume that
. Then,
Thus,
is even-like and
.
For the forwards direction,
so
is evenlike and
. Therefore, for all
,
Exercise 29:
Let
be generated by
Let
and
. Show that
for
.
Exercise 32:
Prove that the generator and parity check matrices for the code
are
and
respectively.
Exercise 33:
Prove that
construction using
codes
produce dimensions
and
.
Next: Permutation Equivalent Codes
Up: Basic concepts of linear
Previous: Distances and Weights
Brian Bockelman
2005-06-29