How to find euclidean distance
Mostra commenti meno recenti
Plz help me to find euclidean distance between two pixels within same image without using direct matlab command
2 Commenti
Walter Roberson
il 20 Gen 2014
What is a "direct MATLAB command"? Even
3 + 5
is considered a command and invokes a MATLAB function ("plus")
Fahim Ahmed
il 23 Feb 2020
i guess he meant a matlab in-built command
Risposta accettata
Più risposte (1)
Geetika
il 21 Gen 2014
2 voti
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 ) ;
Categorie
Scopri di più su Morphological Operations 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!