help I need matlab code to find two values with their index the closest and maximum value and the closest and minimum value

distance = sqrt((xd-x(I))^2 +(yd-y(I))^2)
help I need matlab code to find two values with their index the closest and maximum value and the closest and minimum value

Answers (0)

This question is closed.

Tags

Asked:

on 29 Jan 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!