need to take the, current_point, that I am at and calculate the distances of the, points_to_check, in order to determine the, closest_point.

1 view (last 30 days)
i already have a function that calculates distance, i need it to return an index of the closest_point and a distance between it and the current_point.
  2 Comments
Rik
Rik on 21 Aug 2020
Original question as posted by Kincaid Gilbert retrieved from Google cache:
need to take the, current_point, that I am at and calculate the distances of the, points_to_check, in order to determine the, closest_point.
i already have a function that calculates distance, i need it to return an index of the closest_point and a distance between it and the current_point.

Sign in to comment.

Accepted Answer

KSSV
KSSV on 20 Aug 2020
This is your function, go for it.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!