CVT_EXAMPLE_FIVE_POINTS a MATLAB program which illustrates the steps involved in the calculation of a Centroidal Voronoi Tessellation (CVT) of the unit square, with 5 generator points.
The CVT calculation is iterative. The purpose of this simple example is to create plots of the initial iterates, to illustrate how the points automatically rearrange themselves from step to step.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
CVT_EXAMPLE_FIVE_POINTS is available in a MATLAB version.
CVT, a MATLAB library which computes a Centroidal Voronoi Tessellation.
CVT_DATASET, a MATLAB program which defines and computes a CVT.
CVT_EXAMPLE_FIFTY_POINTS, a MATLAB program which illustrates the steps involved in the calculation of a Centroidal Voronoi Tessellation (CVT) of the unit square, with 50 generator points.
CVTM_1D, a MATLAB program which estimates a mirror-periodic centroidal Voronoi Tessellation (CVTM) in the periodic interval [0,1], using a version of Lloyd's iteration.
CVTP, a MATLAB library which creates a CVTP, that is, a Centroidal Voronoi Tessellation on a periodic domain.
CVTP_1D, a MATLAB program which estimates a periodic centroidal Voronoi Tessellation (CVTP) in the periodic interval [0,1], using a version of Lloyd's iteration.
You can go up one level to the MATLAB source codes.