Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

tsearch - Search for enclosing Delaunay triangle

tsearch will be removed in a future release. Use DelaunayTri/pointLocation instead.

Syntax

T = tsearch(x,y,TRI,xi,yi)

Description

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.

See Also

DelaunayTri, delaunay, delaunayn, tsearchn

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS