Professional Documents
Culture Documents
Coding theory allows ease of understanding between the transmission of date across noisy channels. It
deals with error-correcting codes using classical and modern algebraic techniques.
1 0 1 0 1010 0 1010 1
1 0 0 1 1001 0 1001 1
1 1 1 0 1110 1 1110 0
0 1 0 0 0100 1 0100 0
R=4
1 0 0 1 0 0 1 1001 001
0 1 0 1 0 1 0 0101 010
1 1 1 1 1 1 1 1111 111
0 1 1 1 0 0 1 0111 001
Discussion on minimum distance and error detection and error correction capability of a code
Minimum distance of a code
• It is the smallest distance between any two distinct codewords in the code.
• We use the notation 𝑑(𝐶) to mean the minimum distance of a code C.
Example:
𝑑(𝐶) = 3
Detection and Correction Capability of a Code
Let C be a set of codewords and let 2𝑒 + 1 be its minimum Hamming distance. Then the code can:
Example:
How many errors can a code with minimum distance of 10 detect? Correct?
Minimum distance: 2𝑒 + 1 = 10
Error detection: Up to 2𝑒 = 10 − 1 = 9
9
Error correction: Up to 𝑒 = = 4.5 → 4 (𝑟𝑜𝑢𝑛𝑑 𝑑𝑜𝑤𝑛)
2
Discussion on the contributions of Claude Shannon and Richard Hamming to the field of
coding theory
Claude Shannon
Father of Information Theory
•
• quality of error correction is heavily dependent on choosing efficient codewords in C
• codeword with the smallest Hamming distance has a high probability of being correct
o lower d(C), more futile error correction
•
• d(C) denotes Minimum Hamming Distance: that is the smallest hamming distance between any
two code words contained within C
• Hamming Bound
o Formulation of efficient code is bounded by three competing principals
1. You want short codewords to reduce the size of data transmissions
2. You want codewords with greater minimum Hamming distance (i.e., greater the
ability to detect and correct errors)
3. But there is limited number of codewords of a specified length that also have a
specified minimum Hamming distance
o Expressed as an equation:
2𝑛
|C| ≤
∑𝑘𝑖=0(𝑛𝑖)
▪ |C| = upper bound number of codewords
▪ n = length of the codewords
▪ k = maximum number of errors capable of correcting
o Any code that achieves the upper bound of the equation is known as a Perfect Code
▪ Hamming Codes
Solutions to items #4, 6, and 8 are found on page 147 of the textbook.