0% found this document useful (0 votes)
19 views1 page

Exercise 4

The document contains examples of binary codes with errors and how to use Hamming codes to detect the position of errors. It shows the binary values for original and received codes and how to determine the error position by comparing bits.

Uploaded by

Pim Pim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views1 page

Exercise 4

The document contains examples of binary codes with errors and how to use Hamming codes to detect the position of errors. It shows the binary values for original and received codes and how to determine the error position by comparing bits.

Uploaded by

Pim Pim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

E401 0101 1001 0110

E402 1 1 0 1 1 1 0 1
1 0 1 1 0 0 1 0
E403 1 0 1 1 0 1 0 1
1 1 0 1 1 0 0 1
E404 1 1 1 1 0 1 1 1
1 0 1 0 0 1 0 1
E405 BI TO GRAY คู ่
1 1 1 0 1 0 1 1
1 0 0 1 1 1 1 0 1
E406 BI TO GRAY คี่
1 0 1 0 1 0 1 1
1 1 1 1 1 1 1 0 0
E407 GRAY TO BI คี่
1 0 1 0 1 0 1 0
1 1 0 0 1 1 0 0 1
E408 GRAY TO BI คู ่
1 1 1 0 1 1 1 0
1 0 1 1 0 1 0 0 0
E409 Hamming 1 1 1 0 0 1 1
M4 M3 M2 P3 M1 P2 P1
1 1 1 0 0 1 1
P'1 = P1 M1 M2 M4 = 1 0 1 1 = 1
P'2 = P2 M1 M3 M4 = 0 0 1 1 = 0
P'3 = P3 M2 M3 M4 = 0 1 1 1 = 1
P'3P'2P'1 = 101 = 5 ขอ
้ มูลต ำแหน่ง n5 ผิดพลาดคือ M2
E410 Hamming 0 1 1 1 1 0 1
M4 M3 M2 P3 M1 P2 P1
0 1 1 1 1 0 1
P'1 = P1 M1 M2 M4 = 1 1 1 0 = 1
P'2 = P2 M1 M3 M4 = 0 1 1 0 = 0
P'3 = P3 M2 M3 M4 = 0 1 1 0 = 0
P'3P'2P'1 = 001 = 1 ขอ้ มูลต ำแหน่ง n1 ผิดพลาดคือ P1

You might also like