FUNCTION REFERENCE

delaunayn

Delaunay triangulation of points given as rows.

Delaunay triangulation of points given as rows.

Syntax

T = delaunayn(X)

Syntax

T = delaunayn(X, options)

X has one, two, or three columns. Qhull options are accepted and ignored. Three collinear 2-D points or four coplanar 3-D points give one flat simplex, as in MATLAB.

Example

delaunayn([0 0; 1 0; 0 1])   % [1 2 3]

Example

size(delaunayn([0 0 0; 1 0 0; 0 1 0; 0 0 1]))   % [1 4]

Differences from MATLAB: Points in four or more dimensions are not supported. Rows are ordered by their vertex indices; MATLAB's Qhull order can differ, with the same simplices.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.