Function Reference
— Function File: idx = dsearch (x, y, tri, xi, yi)
— Function File: idx = dsearch (x, y, tri, xi, yi, s)

Returns the index idx or the closest point in x, y) to the elements [xi(:), yi(:)]. The variable s is accepted but ignored for compatibility.

See also: dsearchn tsearch