MATLAB Function Reference | Search  Help Desk |
tsearch | See Also |
Search for enclosing Delaunay triangle
T = tsearch(x,y,TRI,xi,yi)
T = tsearch(x,y,TRI,xi,yi)
returns an index into the rows of TRI
for each point in xi
,yi
. The tsearch
command returns NaN
for all points outside the convex hull. Requires a triangulation TRI
of the points x
,y
obtained from delaunay
.
delaunay
Delaunay triangulation
dsearch
Search for nearest point