Upload to Canvas a PDF of your work for the following problems.
Lemma. Let \(C\) be a systematic linear binary code, and let \(H\) be its parity check matrix.
- If \(C\) contains a codeword of weight 1, then \(H\) contains a zero column.
- If \(C\) contains a codeword of weight 2, then \(H\) has two identical columns.
G
and message mess
given below.
G
is a generating matrix for a systematic
linear binary code \(C\). How many
codewords are there in this code?mess
. Find its syndrome.mess
, and
decode the message.G <- matrix(c(1,0,0,0,0,1,1,1,0,1,1,0,0,1,0,
0,1,0,0,0,0,1,1,1,0,1,1,0,0,1,
0,0,1,0,0,1,1,0,1,0,1,1,1,1,0,
0,0,0,1,0,0,1,1,0,1,0,1,1,1,1,
0,0,0,0,1,1,1,0,1,1,0,0,1,0,1),
byrow=TRUE, nrow=5)
mess <- c(0,0,1,0,1,1,1,1,1,1,0,0,0,0,1)