- 2081 Chaitra · 2+4+4 marks
(6, 3) code from parity check matrix
Short answer
G = [I3 | P] with P = [1 1 0; 0 1 1; 1 0 1]. Codeword for 110 is 110101. Received 110111 yields syndrome 010, so it contains an error; corrected codeword is 110101.
A (6, 3) error control code has the following parity check matrix. H = [1 0 1 1 0 0; 1 1 0 0 1 0; 0 1 1 0 0 1] a) Determine the generator matrix G b) Generate a codeword for message 110 c) Check whether the received code word 110111 has error or not.
For a systematic linear block code, and , with . A codeword is , and for a received vector the syndrome is . All arithmetic is modulo 2.
a) Generator matrix
Transposing:
b) Codeword for message 110
Parity bits directly: , , .
Codeword = 110 101
Check: : row 1: , row 2: , row 3: . Syndrome , so it is valid.
All codewords (for reference; , corrects 1 error):
| 000 | 000000 | 100 | 100110 |
| 001 | 001101 | 101 | 101011 |
| 010 | 010011 | 110 | 110101 |
| 011 | 011110 | 111 | 111000 |
c) Check received word 110111
Each syndrome bit is one row of dotted with :
| Row of | Product terms | |
|---|---|---|
| 1 0 1 1 0 0 | 0 | |
| 1 1 0 0 1 0 | 1 | |
| 0 1 1 0 0 1 | 0 |
The syndrome is non-zero, so the received word has an error.
Locating it: equals the 5th column of , so assuming a single error, bit 5 is wrong: .
Answer: as above; codeword for 110 is 110101; received 110111 is in error (syndrome 010), corrected codeword 110101, message 110.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- (4,3) even parity code is linear, odd parity is not · Communication Systems, chapter 8
- Hamming distance and weight; (6,3) code check for 100101 · Communication Systems, chapter 8
- Convolutional vs block codes; (7,4) cyclic code for 1011 · Communication Systems, chapter 8 · asked 2×
- Convolutional vs block coder; (7,4) cyclic code for 1010 · Communication Systems, chapter 8 · asked 2×
- Significance of dmin; (7,4) cyclic code for 1101 with g(x) = 1 + x + x² · Communication Systems, chapter 8
- (7,4) cyclic code G(p) = p³ + p + 1 for 0101 · Communication Systems, chapter 8 · asked 2×
- Dataword vs codeword; error coding techniques · Data Communication, chapter 8
- Design a (6,3) block code word · Data Communication, chapter 8 · asked 3×
- Generate stiffness matrix of frame · Theory of Structures II, chapter 3
- Generate stiffness matrix for portal frame · Theory of Structures II, chapter 3