Fast 2D Convex Hull function

This ConvexHull function gives the englobing convex hull of 2D data set.

You are now following this Submission

[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://in.mathworks.com/matlabcentral/fileexchange/68951-fast-2d-convex-hull-function), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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