Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Distance and Dissimilarity Measures >

HammingDistance

HammingDistance[u, v]
gives the Hamming distance between strings or vectors u and v.
  • HammingDistance[u, v] gives the number of elements whose values disagree in u and v.
New in 6
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team