Three codewords from the Golay code
Correct the errors. (The Golay matrix is stored as golay and the matrix bit.ly/2JbcS6p
) as golaybt.)
An 11-bit message is multiplied by the generating matrix for the Hamming [15, 11] code and the resulting codeword is sent. The vector
is received. Assuming there is at most one error, correct it and determine the original 11-bit message. (The parity check matrix for the Hamming [15, 11] code is stored in the downloadable computer files (bit.ly/2JbcS6p
) as hammingpc.)