Generator Matrix

There are four tasks in this experiment.

Procedure for Encoding:

  1. The objective of this task is to encode a message into a codeword using generator matrix.
  2. First enter a binary message and click on Submit.
  3. The entered message will be displayed in Observations.
  4. Enter the encoded codeword corresponding to the message and click on Submit.
  5. The correctness of the entered codeword is displayed in Observations.
  6. If the answer is correct, click on Reset to try these steps again with a different binary message.

Procedure for Codebook Generation:

  1. The objective of this task is to generate the entire codebook of a linear block code using the given generator matrix.
  2. Enter the codeword corresponding to the message and click on Submit.
  3. The correctness of the entered codeword is displayed in Observations.
  4. If the codeword entered is correct, enter the next codeword. Repeat this procedure until the entire codebook is generated.
  5. Reset - Resets the codeword and clears the Observations.

Procedure for Generator Matrix:

  1. The objective of this task is to find the generator matrix of a code from the given codebook.
  2. Initially, all the vectors are in grey color.
  3. Clicking on a vector changes its color from grey to green. Green background indicate that a vector is selected.
  4. To deselect a vector, click on it again. Its color changes back to grey.
  5. Select 3 codewords one by one to form the rows of the generator matrix and click on Submit.
  6. Observations section displays whether a valid generator matrix is selected or not.
  7. For systematic generator matrix, the order in which the codewords are selected is important.
  8. Reset - Deselects all the vectors and brings it back to the initial state.

Procedure for Parity-Check Matrix:

  1. The objective of this task is to find all the codewords of a code from the given parity-check matrix.
  2. Initially, all the vectors are in grey color.
  3. Clicking on a vector changes its color from grey to green. All the vectors with green background are the selected vectors.
  4. To deselect a vector, click on it again. Its color changes back to grey.
  5. Select all the vectors which are the codewords of the given code mathcalC\\mathcal{C} and click on Submit.
  6. Observations section displays whether all the codewords have been selected or not.