hand_area, a MATLAB code which starts with data points defining the outline of someone's hand, and then estimate the area of the hand using sampling.

The original proposer of this exercise was Cleve Moler, in the textbook Numerical Computing with MATLAB.


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


hand_area is available in a MATLAB version.

Related Data and Programs:

convex_hull, a MATLAB code which demonstrates the computation of the convex hull of a set of 2D points.


hand_data, MATLAB codes which carry out some numerical exercises based on data that came from tracing several points on a person's hand.

hand_mesh2d, a MATLAB code which reads in points which outline a human hand, and calls mesh2d(), which creates a fine triangular mesh of the region outlined by the points.

maple_area, a MATLAB code which takes the list of pixels that form the boundary of the image of a maple leaf within a picture, and uses grid, Monte Carlo, and Quasi Monte Carlo sampling to estimate the area of the leaf.

maple_boundary, a MATLAB code which reads an image of a maple leaf and extracts the list of pixels that form the boundary.

triangulate, a MATLAB code which triangulates a polygonal region.


Source Code:

Last revised on 27 January 2019.