Docsity

Importance of Hamming Distance in Error Correction: Calculation in Binary Strings, Slides of Discrete Structures and Graph Theory

Toggle sidebar
bg1
Functions on Binary Strings
•Let Σ = {0,1} represent the binary alphabet. We
consider the following functions involving binary
strings:
•Length: L:Σ* → N defined as L(s) = length of s.
•Density: d:Σ* → N defined as d(s) = # 1’s in s.
•Hamming Distance Function: H:Σn x Σn → N
defined as H(s,t) = # places where s and t
disagree.
•For example, L(101100) = 6, d(101100) = 3, and
H(101100,100110) = 2.
7.1.1
Docsity.com
pf2

Partial preview of the text

Download Importance of Hamming Distance in Error Correction: Calculation in Binary Strings and more Slides Discrete Structures and Graph Theory in PDF only on Docsity!

Functions on Binary Strings

  • Let Σ = {0,1} represent the binary alphabet. We consider the following functions involving binary strings:
  • Length: L:Σ* → N defined as L( s ) = length of s.
  • Density: d:Σ* → N defined as d( s ) = # 1’s in s.
  • Hamming Distance Function: H:Σ n^ x Σ n^ → N defined as H( s,t ) = # places where s and t disagree.
  • For example, L(101100) = 6, d(101100) = 3, and H(101100,100110) = 2.

7.1.

Docsity.com

Hamming Distance Function

  • The Hamming Distance function is of fundamental importance in the world of Error Correcting Codes, to find the distance between binary codewords in digital communications.
  • H( s,t ) can be calculated in two steps:
    1. Set w = s ⊕ t ;
    2. Calculate d( w );
  • In other words: H( s,t ) = d( s ⊕ t ).
  • Thus H(101100,100110) = d(001010) = 2.

7.1.

Docsity.com