image thumbnail


version (17.7 KB) by Peter Wasmeier
Fit polygon hull to a data set better than convhull would do.


Updated 15 Nov 2004

View License

When interpolating on a given data set, convhull is used to set the boundaries of the interpolation area. Because convhull only minimizes the outline length, there might be interpolation lines which are unwanted (see figure).

hullfit tries to minimze the polygon area instead resulting in a hull line fitting sharper to the given data.

Cite As

Peter Wasmeier (2022). hullfit (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!