how to calculate total hamming distance?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
sara
el 11 de Nov. de 2014
Comentada: sara
el 11 de Nov. de 2014
hi guys i have this code which i was running to calculate hamming distance:
D = pdist(AA,'minkowski',1);
D_matrix = squareform(D);
Z = [0; diag(D_matrix,1)]
the output of this file is the hamming distance for my matrix as ( 0 2 2 3 4 ...) i want to calculate the total hamming distance of it. which is the summation of hamming distance (0+2+2+3+4...) how to do it?
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Hamming en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!