Function Reference

Geometry

Delaunay Triangulation

delaunay
The return matrix of size [n, 3] contains a set triangles which are described by the indices to the data point x and y vector.
delaunay3
A matrix of size [n, 4] is returned.
delaunayn
Form the Delaunay triangulation for a set of points.
triplot
Plot a triangular mesh in 2D.
trimesh
Plot a triangular mesh in 3D.
tsearch
Searches for the enclosing Delaunay convex hull.
tsearchn
Searches for the enclosing Delaunay convex hull.
dsearch
Returns the index IDX or the closest point in `X, Y)' to the elements `[XI(:), YI(:)]'.
dsearchn
Returns the index IDX or the closest point in X to the elements XI.

Voronoi Diagrams

voronoi
plots voronoi diagram of points `(X, Y)'.
voronoin
computes n- dimensional voronoi facets.
polyarea
Determines area of a polygon by triangle method.
rectint
Compute the area of intersection of rectangles in A and rectangles in B.
inpolygon
For a polygon defined by `(XV, YV)' points, determine if the points `(X, Y)' are inside or outside the polygon.

Convex Hull

convhull
Returns the index vector to the points of the enclosing convex hull.
convhulln
Returns an index vector to the points of the enclosing convex hull.

Interpolation on Scattered Data

griddata
Generate a regular mesh from irregular data using interpolation.
griddata3
Generate a regular mesh from irregular data using interpolation.
griddatan
Generate a regular mesh from irregular data using interpolation.