Borrar filtros
Borrar filtros

Hamming distance between two binary matrices

5 visualizaciones (últimos 30 días)
Andrei
Andrei el 11 de Oct. de 2013
Respondida: Laura Wright el 31 de Oct. de 2019
How can I calculate the hamming distance between 2 20x20 binary matrices?
Thank you in advance.

Respuesta aceptada

vaishali
vaishali el 11 de Oct. de 2013
D = pdist2(X,Y,'hamming')

Más respuestas (1)

Laura Wright
Laura Wright el 31 de Oct. de 2019
Does X~=Y also give the same answer?

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by