simplifyPolyline()

Simplifies polyline to the required detail by removing vertices using Ramer-Douglas-Peucker Algorithm

You are now following this Submission

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://ch.mathworks.com/matlabcentral/fileexchange/101455-simplifypolyline), MATLAB Central File Exchange. Retrieved .

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

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

Added Example File runtest_simplifyPolyline.m
No change to function

1.0.0