Tuesday, April 11, 2017
DISTANCE CALCULATION BETWEEN NODES
DISTANCE CALCULATION BETWEEN NODES
Lot of people mailed us about how to calculate distance between neighbor nodes or between source and destination?? Now we added some scripts in front end program i.e in tcl script to find out distance between source and destination or with neighbor nodes.
We used distance calculation equation to find out the distance between two nodes.If (x1,y1) be the position of first node and (x2,y2) be the position of second node.Then,distance (d) between two nodes is given as;
d=[ (x2-x1)2+(y2-y1)2 ]1/2
For Script ,Click here.
Screen Shot :
Labels:
between,
calculation,
distance,
nodes
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.