File Exchange

image thumbnail


version 2.4 (68.3 KB) by Mathworlds
Function to check if one vertex (set) is located inside or outside a given -opened- convex point set. Supports dimensions 2 and 3.

1 Download

Updated 12 Aug 2020

View Version History

GitHub view license on GitHub

Please first check the examples tab (.mlx file) here on the right for a complete description.

Once downloaded, typewrite 'help isinconvexset' or 'doc isinconvexset' in Matlab console for support.

Also works for multiple points to test.

Hyperplanes (edges in 2D, triangles in 3D) don't need to be coherently oriented.

Cite As

Mathworlds (2020). isinconvexset (, GitHub. Retrieved .

Comments and Ratings (4)


Doesn't work yet for 'false 3D' (coplanar / point sets embeded in 3D)


You may now download again.


Mistake (theoritical error) found ! Please DO NOT DOWNLOAD till next version (2.0).

Chong WU

Excellent work!

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!