error detection and correction

Error detection and correction (EDAC) is a collection of techniques which allows reliable delivery of digital data over unreliable communication channels.

Typically, messages are strings of ones and zeroes which we encode as elements of the vector space Z2n (e.g. the Hamming space) called codewords. A set of codewords is called a code.

An error correcting code is a code for which it is possible to detect and correct some number of errors.

To correct t errors, we need that for all possible received messages xZ2n and codewords yC, that there is no zC such that dH(x,y)t and dH(x,z)t where yz;
in other words, there must be only one way to have had t errors.


Formally,

Let C be a code with minimum Hamming distance d.
Let t be the largest integer such that t<d2
Then C can correct up to t errors.
Such a code is called t-error correcting.


A t-error correcting code is called perfect if

|C|((n0)++(nt))=2n

i.e. every element of the Hamming space is Hamming distance t from some codeword.


Powered by Forestry.md