How to relate or understand this code with math formula?
Mostrar comentarios más antiguos
Having a matrix (Vertices) with vertices points of a skeleton line (all points x,y). And two (column) vector matrices Na and Nb which describe the logical indexes of the matrix Vertices... can someone explain me better (the actual mathematics) of these pieces of code? Well, actually are the same:
% Correct for sampling differences
Ta = -sqrt(sum((Vertices-Vertices(Na,:)).^2,2));
Tb = sqrt(sum((Vertices-Vertices(Nb,:)).^2,2));
1 comentario
Mauricio Escobar
el 13 de Mzo. de 2013
Editada: Mauricio Escobar
el 13 de Mzo. de 2013
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Graph and Network Algorithms en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!