simplifyPolyline()

Simplifies polyline to the required detail by removing vertices using Ramer-Douglas-Peucker Algorithm
74 Downloads
Updated 5 Nov 2021

View License

Function to simplyfy a polyline based on Ramer-Douglas-Peucker Algorithm. The code is generalized for n Dimension, so it can be used for 2d as well 3d problems.
Please find the example problems in runtest_simplifyPolyline.m.

Cite As

Naveen Somasundaram (2026). simplifyPolyline() (https://uk.mathworks.com/matlabcentral/fileexchange/101455-simplifypolyline), MATLAB Central File Exchange. Retrieved .

https://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.1

Added Example File runtest_simplifyPolyline.m
No change to function

1.0.0