Example8.35
Given the binary matrix
and the 5-tuples ${\mathbf x} = (11011)^{\rm t}$ and ${\mathbf y} = (01011)^{\rm t}\text{,}$ we can compute
Hence, ${\mathbf x}$ is a codeword and ${\mathbf y}$ is not, since ${\mathbf x}$ is in the null space and ${\mathbf y}$ is not. Notice that $H{\mathbf y}$ is identical to the first column of $H\text{.}$ In fact, this is where the error occurred. If we flip the first bit in ${\mathbf y}$ from 0 to 1, then we obtain ${\mathbf x}\text{.}$