Example 8.23.
Suppose that we have the following eight words to be encoded:
For
the associated standard generator and canonical parity-check matrices are
and
respectively.
Observe that the rows in represent the parity checks on certain bit positions in a -tuple. The s in the identity matrix serve as parity checks for the s in the same row. If then
which yields a system of equations:
Here serves as a check bit for and is a check bit for and and is a check bit for and The identity matrix keeps and from having to check on each other. Hence, and can be arbitrary but and must be chosen to ensure parity. The null space of is easily computed to be