help find two closet node with their index ..distance = sqrt((xd-x(I))^2 + (yd-y(I))^2)
Ältere Kommentare anzeigen
help find two closet node with their index ..distance = sqrt((xd-x(I))^2 + (yd-y(I))^2)
Antworten (1)
Jan
am 29 Jan. 2015
[value, index] = min(sqrt((xd-x(I))^2 + (yd-y(I))^2))
1 Kommentar
maha ismail
am 29 Jan. 2015
Kategorien
Mehr zu Geometry and Mesh finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!