How can I find the data point inside/outside the polyhedron shape ? i.e. more than 3D.
조회 수: 8 (최근 30일)
이전 댓글 표시
Dear all, I would like to ask a question: How can I find the data point inside/outside the polyhedron shape? i.e. the shape in more than 3D dimensions. I know the function "inpolygon" in MATLAB give us the result if the data point inside/outside polygon in 2D and 3D, but what about more than 3D?
Kind regards Ammar
댓글 수: 1
John Chilleri
2017년 1월 13일
Depending on your polyhedron, it might work if you were to run inpolygon on all the profiles and whichever points lie in all are within the polygon.
답변 (2개)
the cyclist
2017년 1월 13일
I cannot endorse it myself (because I have never used it), but you could try the in_polyhedron function from the File Exchange.
Matt J
2017년 1월 13일
댓글 수: 3
Image Analyst
2017년 1월 14일
You also have answers in your duplicate question. Now you have TWO places to look. I don't know why you want that situation. Don't forget to check both threads from now on.
참고 항목
카테고리
Help Center 및 File Exchange에서 Bounding Regions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!