Inchull - In convex hull

버전 1.3.0.0 (3.2 KB) 작성자: Hugo
Test if a point is inside the convex hull of a set of points
다운로드 수: 284
업데이트 날짜: 2015/4/20

라이선스 보기

Test if a point "testPt" is inside the convex hull of a set of points "pts". This is done by solving a linear program. As it does not require to compute the convex hull, it can be used in high dimension. This is an alternative to the inhull function of John D'Errico that works well in small dimensions. In that case, it is faster that the linear programming approach. However the inhull solution does not work in high dimension as it computes the convex hull.
The code also provides a vector "weights" that verifies: testPt = pts*weights with sum(weights)=1 and weights>=0. This is helpful to check that a point is really inside the convex hull.

인용 양식

Hugo (2025). Inchull - In convex hull (https://kr.mathworks.com/matlabcentral/fileexchange/50569-inchull-in-convex-hull), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2012a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Bounding Regions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.3.0.0

Example added

1.2.0.0

.

1.1.0.0

Description modified

1.0.0.0