Error Detection and Correction
Error Detection and Correction
Continued
Example 10.7
10.2
Example 10.8
10.3
Example 10.9
Solution
This code guarantees the detection of up to three errors
(s = 3), but it can correct up to one error. In other words,
if this code is used for error correction, part of its capability
is wasted. Error correction codes need to have an odd
minimum distance (3, 5, 7, . . . ).
10.4
10-3 LINEAR BLOCK CODES
10.5
Note
In a linear block code, the exclusive OR (XOR) of any two valid codewords creates
another valid codeword.
10.6
Example 10.10
10.8
Table 10.3 Simple parity-check code C(5, 4)
10.9
Figure 10.10 Encoder and decoder for simple parity-check code
10.10
Example 10.12
10.12
Note
A simple parity-check code can detect an odd number of errors.
10.13
Note
All Hamming codes discussed in this book have dmin = 3.
10.14
Figure 10.11 Two-dimensional parity-check code
10.15
Figure 10.11 Two-dimensional parity-check code
10.16
Figure 10.11 Two-dimensional parity-check code
10.17
Table 10.4 Hamming code C(7, 4)
10.18
Figure 10.12 The structure of the encoder and decoder for a Hamming code
10.19
Table 10.5 Logical decision made by the correction logic analyzer
10.20
Example 10.13