Fast 2D Convex Hull function
[V,I] = ConvexHull(InputData) gives the convex hull for a 2D points set.
InputInputData is a coordinate matrix of size Nx2. The first column contains the xInputData and the second column contains the yInputData :
InputData = [xInputData' yInputData']
[V,I] = ConvexHull(InputData) provides two types of elements :
V : The x-InputData and y-InputData values of the founded V
I : The position indexes of the founded V in the initial InputData.
See Demo file for more details.
Cite As
Foued Theljani (2026). Fast 2D Convex Hull function (https://www.mathworks.com/matlabcentral/fileexchange/68951-fast-2d-convex-hull-function), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
|
