How to relate or understand this code with math formula?
Mostra commenti meno recenti
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 Commento
Mauricio Escobar
il 13 Mar 2013
Modificato: Mauricio Escobar
il 13 Mar 2013
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Graph and Network Algorithms in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!