Code covered by the BSD License
Peter Bone (view profile)
31 Jan 2014
04 Feb 2014)
Simplifies a closed polygon by reducing the number of vertices to a specified number
This file was selected as MATLAB Central Pick of the Week
Watch this File
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.
Fixed error referencing non-existing variable.
Significant speed up.