MATLAB: 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.

min

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.

Best Answer

  • This is your function, go for it.