Example22.14
Consider the $(6,3)$-linear codes generated by the two matrices
Messages in the first code are encoded as follows:
It is easy to see that the codewords form a cyclic code. In the second code, 3-tuples are encoded in the following manner:
This code cannot be cyclic, since $(101101)$ is a codeword but $(011011)$ is not a codeword.