%% Voronoi Diagram with 2-D Points
% Create two vectors containing the coordinates of 10 2-D points, and plot the Voronoi diagram.

rng default;
x = rand([1 10]);
y = rand([1 10]);
voronoi(x,y)
axis equal

% Copyright 2015 The MathWorks, Inc.