Ramer-Douglas-Peucker algorithm demo
Version 1.1.0.0 (89.8 KB) by
Ligong Han
A demo of Ramer-Douglas-Peucker algorithm.
Editor's Note: This file was selected as MATLAB Central Pick of the Week
This is a demo of the Ramer-Douglas-Peucker algorithm.
RDP_GUI.m Draw lines on the first figure with your mouse, then a simplified curve will be plotted in the second figure.
DouglasPeucker.m Reduce density of points in vector data using the Ramer-Douglas-Peucker algorithm.
Cite As
Ligong Han (2026). Ramer-Douglas-Peucker algorithm demo (https://au.mathworks.com/matlabcentral/fileexchange/41986-ramer-douglas-peucker-algorithm-demo), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- AI and Statistics > Statistics and Machine Learning Toolbox > Descriptive Statistics and Visualization >
Find more on Descriptive Statistics and Visualization in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
