N-D Delaunay triangulation
T = delaunayn(X)
T = delaunayn(X,options)
T = delaunayn(X)
computes a set of simplices
such that no data points of X
are contained in any circumspheres of
the simplices. The set of simplices forms the Delaunay triangulation.
X
is an m
-by-n
array
representing m points in n-dimensional space. T
is a
numt
-by-(n+1
) array where each row contains
the indices into X
of the vertices of the corresponding
simplex.
T = delaunayn(X,options)
specifies a cell array of options. The
default options are:
{'Qt','Qbb','Qc'}
for 2- and 3-dimensional input
{'Qt','Qbb','Qc','Qx'}
for 4 and higher-dimensional input
If options
is []
, the default options used. If
options
is {''}
, no options are used, not even
the default.
Plotting the output of delaunayn
depends of the value of
n
:
camorbit
| convhulln
| delaunayTriangulation
| tetramesh
| voronoin