%% Convex Hull Option
% Compute the Voronoi vertices and diagram cells of a 2-D set of points by specifying the convex hull parameters.  The first row of C contains a point at infinity.

X = [-1 -1; 1 -1; 1 1; -1 1];
[V,C] = voronoin(X,{'Qbb','Qz'})

% Copyright 2012 The MathWorks, Inc.