Polygon simplification

Simplifies a closed polygon by reducing the number of vertices to a specified number
Updated 4 Feb 2014

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Reduce the number of vertices in a closed polygon while maintaining the shape and detail as much as possible.

Unlike similar functions, this one will allow you to reduce to a specific number of vertices.

Cite As

Peter Bone (2024). Polygon simplification (https://www.mathworks.com/matlabcentral/fileexchange/45342-polygon-simplification), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Elementary Polygons in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Significant speed up.

Fixed error referencing non-existing variable.