Ex q=2, k=2, n=
![]() |
|||
![]() |
)
G= generating matrix
rows of a generating matrix for a basis for the codewords.
This matrix is in reduced-echelon form, and if not we can make it so.
![]() |
|||
![]() |
|||
One way to define a code is through the parity check matrix.
Ex Parity codes have H=
(there are k-ones)
then G=(
P)
Ex q=1, k=3, n=7
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
![]() |
![]() |
||
![]() |
![]() |
||
![]() |
![]() |
||
![]() |
![]() |
Ex q=4, k=2, n=5, dim(c)=n-k=5-2=3,
H=(
), now find peicewise linearly independent vectors in
= 0, 1, a, b (a=x, b=x+1)
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
![]() |
![]() |
||
![]() |
![]() |
||
![]() |
![]() |
a codeword? Use parity check matrix.
Hx=
=
Not a codeword. If you had received x, it was
an error, and you would have to request it again.
Where was the error in
?
*Can we change one element to get a codeword?
C= Span(
Theorem Hamming codes have a minimum distance of 3. (Perfect)
we can fix one error
If x had been
or some
such vector, then there would have only been one error and we
could have fixed it.