Generator Matrix
Generator Matrix
Adrish Banerjee
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Linear block code
1110010
What is (n, k) of C?
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
1110010
What is (n, k) of C?
Solutions: Rank of H matrix is 3. So, n = 7, k = 7 − 3 = 4.
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Linear block code
Problem # 2: Consider the following binary block code, C,
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Linear block code
Problem # 2: Consider the following binary block code, C,
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
v1 + v2 = 101110
v1 + v3 = 001100
v2 + v3 = 100010
v1 + v2 + v3 = 010001
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 2 (contd.)
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 2 (contd.)
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 2 (contd.)
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 2 (contd.): Generator matrix in systematic
form
How to write the generator matrix in systematic form?
⎡ ⎤
1 1 0 0 1 1
G=⎣ 0 1 1 1 0 1 ⎦
1 1 1 1 1 1
Row 3 → Row 3 + Row 1
⎡ ⎤
1 1 0 0 1 1
⎣
G= 0 1 1 1 0 1 ⎦
0 0 1 1 0 0
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 2 (contd.): Generator matrix in systematic
form
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Linear block code
Problem # 3: Let H be the parity check matrix of an (n,k) linear
code C that has both odd and even-weight codewords. Construct a
new linear code C1 with the following parity-check matrix
⎡ ⎤
0
⎢ 0 ⎥
⎢ ⎥
⎢ .. ⎥
⎢ . H ⎥
H1 = ⎢ ⎥
⎢ 0 ⎥
⎢ ⎥
⎣ ··· ··· ⎦
1 11 · · · 1
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Linear block code
Problem # 3: Let H be the parity check matrix of an (n,k) linear
code C that has both odd and even-weight codewords. Construct a
new linear code C1 with the following parity-check matrix
⎡ ⎤
0
⎢ 0 ⎥
⎢ ⎥
⎢ .. ⎥
⎢ . H ⎥
H1 = ⎢ ⎥
⎢ 0 ⎥
⎢ ⎥
⎣ ··· ··· ⎦
1 11 · · · 1
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Linear block code
Problem # 3: Let H be the parity check matrix of an (n,k) linear
code C that has both odd and even-weight codewords. Construct a
new linear code C1 with the following parity-check matrix
⎡ ⎤
0
⎢ 0 ⎥
⎢ ⎥
⎢ .. ⎥
⎢ . H ⎥
H1 = ⎢ ⎥
⎢ 0 ⎥
⎢ ⎥
⎣ ··· ··· ⎦
1 11 · · · 1
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
dim(C1 ) = (n + 1) − (n − k + 1) = k
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
dim(C1 ) = (n + 1) − (n − k + 1) = k
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
vH1T = 0
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
vH1T = 0
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
v 1 HT
1 = 0
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
Note that the inner product of v1 with any of the first n-k rows of
H1 is 0.
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
Note that the inner product of v1 with any of the first n-k rows of
H1 is 0.
The inner product of v1 with the last row of H1 is
v∞ + v0 + v1 + · · · + vn−1
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
Note that the inner product of v1 with any of the first n-k rows of
H1 is 0.
The inner product of v1 with the last row of H1 is
v∞ + v0 + v1 + · · · + vn−1
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
Note that the inner product of v1 with any of the first n-k rows of
H1 is 0.
The inner product of v1 with the last row of H1 is
v∞ + v0 + v1 + · · · + vn−1
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory
Problem # 3 (contd.)
Note that the inner product of v1 with any of the first n-k rows of
H1 is 0.
The inner product of v1 with the last row of H1 is
v∞ + v0 + v1 + · · · + vn−1
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
An introduction to coding theory