How to find euclidean distance
Afficher commentaires plus anciens
Plz help me to find euclidean distance between two pixels within same image without using direct matlab command
2 commentaires
Walter Roberson
le 20 Jan 2014
What is a "direct MATLAB command"? Even
3 + 5
is considered a command and invokes a MATLAB function ("plus")
Fahim Ahmed
le 23 Fév 2020
i guess he meant a matlab in-built command
Réponse acceptée
Plus de réponses (1)
Geetika
le 21 Jan 2014
2 votes
if you have two vectors with any number of point, for instance, x1=[1 2 3 4 5] and x2=[2 3 4 5 6], then Euc_dist = norm( x1 - x2 ) ;
Catégories
En savoir plus sur Morphological Operations dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!