how to caculate distance?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
o node1
node 2 o o node 3
if the above figure three nodes are present. how to calculate distance between these nodes.
0 Kommentare
Antworten (1)
Yongjian Feng
am 5 Jul. 2021
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.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!