FUNCTION REFERENCE
voronoin
Voronoi diagram of two-dimensional points.
Voronoi diagram of two-dimensional points.
Syntax
[V, C] = voronoin(X)Syntax
[V, C] = voronoin(X, options)V starts with a point at infinity, then holds the circumcentres of the Delaunay triangles. C{i} lists the vertices of the cell of point i; unbounded cells include 1. Qhull options are accepted and ignored.
Example
[v, c] = voronoin([0 0; 2 0; 1 2; 1 0.7]); c{4} % [4 2 3]Differences from MATLAB: Points in three or more dimensions are not supported. Vertex order follows the checked cases; it is not checked against Qhull for unbounded cells with more than two finite vertices.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.