Linear Block Codes: Lecture Notes by Y. N. Trivedi
Linear Block Codes: Lecture Notes by Y. N. Trivedi
I. C HANNEL CODING
F N.
– If V is any vector space with 0 < n < ∞ (i.e., any non-trivial
finite-dimensional vector space) with the scalar field F and if
e1; e2; ..; en is any basis for V, then every vector v in V can be
written uniquely as a linear combination of the basis vectors,
v = c1e1 + c2e2 + .. + cnen.
– Hamming Distance: The Hamming distance, d(x; y), between
N-tuples x and y with components in an arbitrary non-empty
set is defined as the number of coordinates in which x and y
differ. Properties of Hamming Distance.
∗ d(x; y) ≥ 0 with equality if and only if x = y (positive
definiteness);
∗ d(x; y) = d(y; x) (symmetry)
∗ d(x; z) + d(z; y) ≥ d(x; y) (triangle inequality).
– Hamming weight: The Hamming weight, w(x), of a vector x
in F N is defined to be the number of coordinates in which x
is non-zero. It follows that d(x; y) = w(y − x). Properties of
Hamming weight.
∗ w(x) ≥ 0 with equality if and only if x = 0.
∗ w(x) = w(−x).
∗ w(x) + w(y) ≥ w(x + y).
A. Linear codes
1 1 0 1 0 0 1
GHT = 0.
0 0 1
0 1 1 1
1 1 1 0
1 0 0 0
HT =
0 1 0 0
0 0 1 0
0 0 0 1
1 1 1 0
1 1 0 1
1 0 1 1
0 1 1 1
HT =
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
7
1 1 0 1
1 0 1 1
1 1 1 0
T
H =1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
C. Syndrome decoding
D. Cyclic codes
Hence
c1(p) = pc(p) + cn−1(pn + 1) (-8)
pn−k d(p)
ρ(p) = Rem
g(p)
pn−k d(p) ρ(p)
= q(p) + , degree(q(p)) ≤ k − 1
g(p) g(p)
pn−k d(p) + ρ(p)
= q(p)
g(p)
g(p)q(p) = pn−k d(p) + ρ(p)
It means c(p) = p6 + p4 + 1.
If
gi = 0, it is open.
= 1, it is close.