% -*- texinfo -*- % @deftypefn {Function File} {@var{idx} =} dsearch (@var{x}, @var{y}, @var{tri}, @var{xi}, @var{yi}) % @deftypefnx {Function File} {@var{idx} =} dsearch (@var{x}, @var{y}, @var{tri}, @var{xi}, @var{yi}, @var{s}) % Returns the index @var{idx} or the closest point in @code{@var{x}, @var{y}} % to the elements @code{[@var{xi}(:), @var{yi}(:)]}. The variable @var{s} is % accepted but ignored for compatibility. % @seealso{dsearchn, tsearch} % @end deftypefn