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:28] – [Example 1.] kneheztanszek:oktatas:techcomm:error_detection_and_correction [2025/10/28 08:30] (current) – [Example 1.] knehez
Line 96: Line 96:
 **p1**: Covers 1, 0, 1 (positions 1, 3, 5, 7), so p1 = 0 (to make the total even). **p1**: Covers 1, 0, 1 (positions 1, 3, 5, 7), so p1 = 0 (to make the total even).
  
-**p2**: Covers 0, 1, 0 (positions 2, 3, 6, 7), so p2 = (to make the total even).+**p2**: Covers 1, 1, 0 (positions 2, 3, 6, 7), so p2 = (to make the total even).
  
 **p4**: Covers 0, 1, 0 (positions 4, 5, 6, 7), so p4 = 1 (to make the total even). **p4**: Covers 0, 1, 0 (positions 4, 5, 6, 7), so p4 = 1 (to make the total even).
  
 Thus, the final transmitted Hamming code is: Thus, the final transmitted Hamming code is:
-<code>1 1 0 1 0</code>+<code>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. 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.
tanszek/oktatas/techcomm/error_detection_and_correction.txt · Last modified: 2025/10/28 08:30 by knehez