(I) .Generate All Possible Codewords Using The Given Matrix
(I) .Generate All Possible Codewords Using The Given Matrix
[0¿0¿0 ]
[0¿0¿1]
C= [0¿1¿0] ¿
[0¿1¿1]
[1¿ 0¿0]
[1¿0¿1] C 1=¿ 0 0 0 0 0
[1¿1¿ 0] C 2=¿ 0 1 0 1 0
[1¿1¿1] C 3=¿ 1 0 0 1 1
C 4=¿ 1 1 0 0 1
C 5=¿ 1 0 1 0 0
C 6=¿ 1 1 1 1 0
C 7=¿ 0 0 1 1 1
C 8=¿ 0 1 1 0 1
(ii)
Find the parity check matrix, H.
Solution
To find the parity check matrix [H] first we should have get G in systematic form:
Steps to the systematic form of G by Gaussian elimination method
Step-1 Shift C3-----C1, C1---C2, C2------C3 we get the matrix
[1¿1¿0 10 ]
[0¿1¿0 1 1]
[0¿0¿1 0 0]
Step-2 C5---C2, C2---C3, C3---C4, C4-----C5 we get the matrix
[1¿0¿1 0 1]
[0¿1¿1 0 1]
[0¿0¿0 1 0]
Step-3 finally shift c4----c3, c3----c4 we get the matrix that has identity matrix
[1¿ 0¿0] [1¿ 0]
[I]= [0¿1¿0] and parity matrix [P] =[1¿1] the systematic code we get
[0¿0¿1] [0¿1]
[1¿ 0¿0 10 ]
G=[0¿1¿0 11]
[0¿0¿1 0 1]
The parity check matrix[ H ]=[−P T ] I ] where the row and column dimension
reversed
[1¿1¿ 01 0]
[H]=[0¿1¿1 01]
Note:- where c1,c2,c3,c4,c5 are the i columns and R1,R2,R3,R4,R5 are ith row.
th
Since the code is linear through all linearity checking criteria so it’s minimum
weight equal to minimum code distance and code weight the number of non-zero
bits on single codeword.
Minimum distance(d*) = 2= (w*) minimum weight
(vi).How many errors can this code detect?
Solution
¿
d =S+1 where s-error syndrome d* = Minimum distance
S=2−1=1 so it can detect one bit error
(vii).Write down the set of error patterns this code can detect
Solution
We have done all things in question (iv) based on that
00001
00010
00100
01000
() 2
2 5
()3
3 2
()4
4
()
p ( e )= 5 p ( 1−p ) + ¿ 5 p ( 1− p ) + 5 p ( 1− p )+ 5 p
5
5