A sequence is should be sent. Method: Encode function: there should also be a decode function so that
Example: trivial method
with can correct errors (worst case) Define -code over alphabet is a subset of of cardinality This example is a -error-correcting code
Definition: Hamming distance
Consider two strings of equal length over a finite alphabet , the hamming distance is the number of positions where they differ
Definition: minimum distance
The minimum distance of an error-correcting-code or is the minimum of Hamming distance between any two codewords.
Example:
The following code is a -code over alphabet Let be the encoded codewords of This is a sum set of and has elements The minimum distance is
Geometric Intuition
Consider each codeword in as a vector in a high dimensional space (distance are defined by hamming distance ). Let be the code we receive, the correction process is to find the closest codeword vector.
Better Method: Reed-Solomon-Code
Consider a big enough (for example ) and with for distinct and
Minimal distance is because every two with have at most same components.
NOTE
This code can correct errors