simplifyPolyline()
Version 1.0.1 (2.41 KB) by
Naveen Somasundaram
Simplifies polyline to the required detail by removing vertices using Ramer-Douglas-Peucker Algorithm
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 LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
