![]() |
[home] [lexicon] [problems] [tests] [courses] [auxiliaries] [notes] [staff] |
![]() |
Mathematics-Online lexicon: | ||
Codes and Linear Codes |
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z | overview |
Codes.
Let
be a finite set with
elements, which is called
alphabet. A code
of
length
is a subset of
. The code words are written
as
- tuples
The information rate of
is defined as
For
the Hamming distance of
and
is
A minimal distance decoder (MDD) gives to each
a
word
, which has minimal Hamming distance to
A MDD is
therefore a function
with
Two codes
and
are called equivalent provided there is
a permutation
of
such that
Task of coding theory is to find codes with big minimal distance and big information rate.
Linear Codes.
Let
be a finite field and
the vector space of dimension
over
. A subspace
of
is called a linear code.
If
is a basis of
, written as row vectors,then
the matrix
with the rows
is called
a generator matrix of
.
A linear code
of dimension
has the information rate
. If its minimal distance is
, then the code is
called a
-Code.
The minimal distance of a linear code coincides with the minimal number of non-zero entries of a code word which is different from the zero vector.
Let be a finite field and let
be a code. Assume that
any two distinct words of
have distance at least
, i.e.
Suppose that
differs from a code word
by
coordinates (if
is the word obtained after transmission of
then one
says the transmission had
errors ). Because
all other
code words differ from
by more than
coordinates. So we have a unique
candidate which code word
should be if it is obtained after transmission
of some code word. Note that the correction of
to this candidate is correct
provided the transmission had no more than
errors. This leads to the
following definition.
An - error correcting code is a subset of
with the property
Let
be a linear code of dimension
, then
is equivalent
to a linear code with a generator matrix
, where
denotes the identity matrix.
For a linear code
with generator matrix
a check matrix is given by
Each matrix
with the properties
If
is a code word and
the difference between the
word obtained after transmission and the original code word, then the
multiplication with the check matrix
A MDD for a linear code
is defined by
with
where
depending on
is chosen such that
and such that
.
(If
is greater equal than the number of
transmission errors (inside a transmitted code word)
then one obtains by
as above
.)
Binary Hamming Codes.
A binary Hamming Code of length
(with
) is
determined by a check matrix
with the property that
its row vectors are just all vectors
of
. Hamming codes are
-Codes.
The advantage for the practice is the simple error correction.
For binary Hamming codes and
the syndrom
is at most at one position different from
zero.
The (unique) MDD is given by
Examples:
automatically generated 7/ 7/2005 |