**polygon_average_test**,
a MATLAB code which
calls polygon_average(), which
demonstrates a process of repeatedly averaging and normalizing the
vertices of a polygon, illustrating a property of the power method.

The computer code and data files made available on this web page are distributed under the GNU LGPL license.

polygon_average, a MATLAB code which demonstrates a process of repeatedly averaging and normalizing the vertices of a polygon, illustrating a property of the power method.

- polygon_average_test.m, calls all the tests.
- polygon_average_test.sh, runs all the tests.
- polygon_average_test.txt, the output file.

- polygon_original.png, a plot of the starting polygon.
- polygon_average.png, a plot of the polygon after 20 averaging steps.