voronoin
Voronoi diagram in N dimensions
📝Syntax
[V, C] = voronoin(P)
[V, C] = voronoin(P, options)
📄Description

voronoin computes Voronoi vertices and cells for the input points.

V contains vertices and C is a cell array of one-based vertex indices.

💡Examples
Voronoi vertices and cells of planar points.
P = [0 0; 1 0; 1 1; 0 1];
[V, C] = voronoin(P)
🔗See Also
voronoidelaunayn
🕔Version History
Version Description
2.0.0 Initial version.
Edit this page on GitHub