<< Chapter < Page | Chapter >> Page > |
Consider again the majority rules code with two elements . This code has and can be used as follows:
Consider the code with two elements . Then, . This code can be used in the following ways:
Thus, the minimum distance of a code is a resource that can be allocated between error detection and error correction.How to trade these off is a system design issue. In some cases, the receiver can ask for a symbol to be retransmitted when an erroroccurs (for instance, in a computer modem or when reading a file from disk), and it may be sensible to allocate to detecting errors.In other cases (such as broadcast), it is more common to focus on error correction.
Syndrome | Most likely |
error | |
0000 | 0000000 |
0001 | 0000001 |
0010 | 0000010 |
0100 | 0000100 |
1000 | 0001000 |
1101 | 0010000 |
1011 | 0100000 |
0111 | 1000000 |
0011 | 0000011 |
0110 | 0000110 |
1100 | 0001100 |
0101 | 0011000 |
1010 | 0001010 |
1001 | 0010100 |
1110 | 0111000 |
1111 | 0010010 |
The discussion in this section so far is completely general; that is, the definition and results on minimum distance apply to any codeof any size, whether linear or nonlinear. There are two problems with large nonlinear codes:
To emphasize this, consider a code that combines binary digits into clusters of 56 and codes these clusters using 64 bits. Such a code requiresabout code words. Considering that the estimated number of elementary particles in the universe is about , this is a problem. When the code is linear, however, it is notnecessary to store all the code words; they can be generated as needed. This was noted in the discussion of the code of the previous section. Moreover, finding the minimum distance of a linear codeis also easy, since is equal to the smallest number of nonzero coordinates in any code word (notcounting the zero code word). Thus can be calculated directly from the definition by finding the distances between allthe code words, or by finding the code word that has the smallest number of 1's. For instance, in the code, the two elements 01011 and 10101 each have exactly three nonzero terms.
This section gives two examples of linear codes. If the generator matrix has the form
Notification Switch
Would you like to follow the 'Software receiver design' conversation and receive update notifications?