1.
In this exercise we will build a \([35,6,12]\) binary linear code.
(a)
Construct (give a generator matrix for) a \([5,2,4]\) GRS code over \(F=\F_2[\beta]/(\beta^3+\beta+1)\) with code locators \(\alpha_i=\beta^i\) for \(i=1,\dots,5\) and generator column multipliers \(u_i=1\) for \(i=1,\dots,5\text{.}\) You will use this code as \(C_{\mathrm{out}}\text{.}\)
(b)
For the inner code, letβs use the \([7,3,4]_2\) simplex code, the dual code of the \([7,4,3]\) Hamming code. Based on what you know about the parity-check matrix for this Hamming code, write down a generator matrix for \(C_{\mathrm{in}}\text{.}\)
Solution.
This generator matrix is the parity-check matrix for the Hamming code so we have
\begin{equation*}
G_{\mathrm{in}}=\begin{bmatrix}
0 \amp 0 \amp 0 \amp 1 \amp 1 \amp 1 \amp 1 \\
0 \amp 1 \amp 1 \amp 0 \amp 0 \amp 1 \amp 1 \\
1 \amp 0 \amp 1 \amp 0 \amp 1 \amp 0 \amp 1
\end{bmatrix}\text{.}
\end{equation*}
(c)
Now letβs practice using the concatenated code with encoding map \(\mathcal{E}:F\to C_{\mathrm{in}}\) which takes each symbol \(z\) to the product \(\vec{z}G_{\mathrm{in}}\) where \(\vec{z}\) is the coefficient vector of \(z\) with respect to the standard basis \(\{1,\beta,\beta^2\}\) of \(F\) over \(\F_2\text{.}\) Consider the message \((101111)\text{.}\)
(i)
Split the message vector into appropriately sized chunks and convert it into a vector over \(F\) for encoding with \(C_{\mathrm{out}}\text{.}\)
(ii)
Encode this message vector to get a codeword of \(C_{\mathrm{out}}\text{.}\)
Solution.
(iii)
Compute \(\mathcal{E}(z_i)\) for each symbol in the codeword of \(C_{\mathrm{out}}\) and concatenate them to get a codeword in \(C_{\mathrm{cont}}\text{.}\)
Solution.
We have
\begin{align*}
\mathcal{E}(z_1) \amp = (0\,0\,0)G_{\mathrm{in}} = (0\,0\,0\,0\,0\,0\,0) \\
\mathcal{E}(z_2) \amp = (0\,0\,1)G_{\mathrm{in}} = (1\,0\,1\,0\,1\,0\,1) \\
\mathcal{E}(z_3) \amp = (1\,1\,0)G_{\mathrm{in}} = (0\,1\,1\,1\,1\,0\,0) \\
\mathcal{E}(z_4) \amp = (1\,0\,0)G_{\mathrm{in}} = (0\,0\,0\,1\,1\,1\,1) \\
\mathcal{E}(z_5) \amp = (0\,1\,1)G_{\mathrm{in}} = (1\,1\,0\,0\,1\,1\,0) \text{.}
\end{align*}
So our codeword is
\begin{equation*}
\bc=(0\,0\,0\,0\,0\,0\,0\mid 1\,0\,1\,0\,1\,0\,1 \mid 0\,1\,1\,1\,1\,0\,0 \mid 0\,0\,0\,1\,1\,1\,1 \mid 1\,1\,0\,0\,1\,1\,0)\text{.}
\end{equation*}
