voronoin
- :
[v, c] =voronoin(P)¶ - :
[v, c] =voronoin(P, opts)¶ N-D Voronoi diagram of the point set P.
P is an m-by-n matrix of m points in n dimensions (
n >= 2). v is a matrix of Voronoi vertices (first row isInf); c is a cell column whose k-th entry lists the (1-based) rows of v that form the cell of site P(k,:). Unbounded cells include index 1.opts is a cell array of character vectors of Qhull options. The defaults are
{"Qbb"}for 2-D/3-D and{"Qbb","Qx"}for 4-D and higher. Empty[]keeps the defaults;{''}passes no options. A character row is rejected (MATLAB requires a cell array).