For a block code, the minimum distance of a code is the minimum Hamming distance between distinct codewords, where Hamming distance counts positions in which two equal-length binary strings differ. We use equal-length codewords, so the fact that the codomain allows arbitrary finite strings creates no ambiguity. Minimum distance means every two distinct codewords differ in at least positions and some pair differs in exactly .
Changing at most bits cannot turn a codeword into another codeword. Testing membership therefore detects every such nonzero error. For , suppose a received word lies within distance of two codewords. The triangle inequality would put their mutual distance at most , a contradiction. Hence the radius- Hamming balls are disjoint and nearest-codeword decoding corrects all errors of weight at most .
For an alphabet of size , start with and the standard unit vectors in . Their minimum distance of a code is one. Repeat every coordinate times; every distance is multiplied by , so the resulting code has minimum distance of a code exactly . A one-letter alphabet has no pair of distinct codewords and therefore no finite minimum distance of a code under this definition; the construction concerns the usual nontrivial coding situation.

Articles by others on the same topic (0)

There are currently no matching articles.