Digital Code
Digital Code
C = {c = xG, x ∈ Fkq }
C ⊥ = {c = xH, x ∈ C = {v ∈ Fnq , HvT = 0}
Fn−k
q } C ⊥ = {v ∈ Fnq , GvT = 0}
Hamming distance
(source: wikipedia)
Hamming Distance
Axioms of distance
• x 7→ (x1 , x2 , x3 , x4 , x2 + x3 + x4 , x1 + x3 + x4 , x1 + x2 + x4 ).
• If x1 = 1 and x2 = x3 = x4 = 0, then we get a weight of 3.
If we have two data symbols that are not zero, say x1 and
x2 , the only way to get a smaller weight would be that all
parities are 0, which is not possible since x1 and x2 appear
at different positions. Thus dH (C) = 3.
Hamming Distance
Examples
n k Fq name dH
n 1 Fq repetition n
n n−1 Fq single parity check 2
7 4 F2 Hamming 3
4 2 F3 tetracode 3
Distance and Erasures
Any two codewords differ
in d coordinates.
An (n, k) linear code C
over Fq with minimum If up to d − 1 coordinates
Hamming distance are missing, there is still
dH (C) = d can recover at least one left to
from d − 1 erasures. recognize the codeword.
Erasure Recovery
Examples