User Tools

Site Tools


tanszek:oktatas:techcomm:error_detection_and_correction

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tanszek:oktatas:techcomm:error_detection_and_correction [2025/10/28 08:30] – [Example 1.] kneheztanszek:oktatas:techcomm:error_detection_and_correction [2026/10/12 18:17] (current) – [Example 1.] knehez
Line 94: Line 94:
 |p1|p2|1|p4|0|1|0| |p1|p2|1|p4|0|1|0|
  
-**p1**: Covers 1, 0, 1 (positions 1, 3, 5, 7), so p1 = 0 (to make the total even).+**p1**: Covers 1, 0, 0 (positions 1, 3, 5, 7), so p1 = 1 (to make the total even).
  
 **p2**: Covers 1, 1, 0 (positions 2, 3, 6, 7), so p2 = 0 (to make the total even). **p2**: Covers 1, 1, 0 (positions 2, 3, 6, 7), so p2 = 0 (to make the total even).
Line 101: Line 101:
  
 Thus, the final transmitted Hamming code is: Thus, the final transmitted Hamming code is:
-<code>0 0 1 1 0 1 0</code>+<code>1 0 1 1 0 1 0</code>
  
-Let's suppose that because of an error the 3rd bit goes wrong. In this case **p1** and **p2** will be wrong. Because of the **3rd** bit the first and second parity bit will give us wrong values, but the others will not because they do not calculate with the bit standing at the **3rd** place.+Suppose the 3rd bit is wrong due to an error. In this case, **p1** and **p2** will be wrong. Because of the **3rd** bit the first and second parity bits will give us wrong values, but the others will not because they do not calculate with the bit standing at the **3rd** place.
  
 The common values of the first and second parity bits are the following: 1, 2, 3, 5, 6, 7. The defective one has to be among these. The common values of the first and second parity bits are the following: 1, 2, 3, 5, 6, 7. The defective one has to be among these.
tanszek/oktatas/techcomm/error_detection_and_correction.txt · Last modified: by knehez