Coding-Part 5
Coding-Part 5
Moghe
Professor, Department of Information Technology
UIT RGPV-Bhopal
Linear Block Codes
Linear Block Codes- If 2k codewords of a
systematic code can be expressed as a
linear combination of k linearly
independent code-vectors, the code is
called a linear block code or systematic
block code
Generate Block Code-
First information sequence is segmented
in k bit blocks.
Each block is transformed into a large
block of n bits by encoder as per fix rules
N-k additional bits are generated from
linear combination of message bits
Encoding
Let a message block be D = [d1d2…dk]
C DG......( 4)
Or
Where G is k x n matrix called Generator
matrix
G [ I k : P]k n .......(4a)
Where Ik is k x k Identity matrix and P is
arbitrary k x (n-k) matrix
Generatormatrix for a (6,3) block code is
given below. Find all code vectors of this
code. 100 : 110
G 010 : 011
001 : 111
(6,3)
=> n=6 and k = 3 => 3 bit code will
be generated , having 23 = 8 code words,
each of size k+r =n = 6 bits each.
Since message size is 3 bits, there can be 8
possible messages from 000 to 111.
= [101001]
S = RHT
=(C + E) HT
= C HT + E HT
= E HT since C HT =0
So , Syndrome of received vector is 0 if R
is a valid code vector.