how to caculate distance?
Afficher commentaires plus anciens
o node1
node 2 o o node 3
if the above figure three nodes are present. how to calculate distance between these nodes.
Réponses (1)
Yongjian Feng
le 5 Juil 2021
1 vote
Can you figure out the coordinates of those three dots? If so that the distance is defined as d=sqrt((x1-x2)^2+(y1-y2)^2)). Here (x1, y1) and (x2, y2) are the coordinates of the dots.
1 commentaire
ankanna
le 5 Juil 2021
Catégories
En savoir plus sur Live Scripts and Functions dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!