フィルターのクリア

How can I find the data point inside/outside the polyhedron shape ? i.e. more than 3D.

8 ビュー (過去 30 日間)
Ammar
Ammar 2017 年 1 月 13 日
コメント済み: Ammar 2017 年 1 月 14 日
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
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
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.
  1 件のコメント
Ammar
Ammar 2017 年 1 月 13 日
Dear "the cyclst", I would like to thank you for this answer. Please, I tried to use this function but depend on my understanding it is work just for 3D and I am looking for a function work with more than 3D, i.e. 4, 5,... dimensions. Regards

サインインしてコメントする。


Matt J
Matt J 2017 年 1 月 13 日
If it is a convex polyhedron, you can use INHULL.
  3 件のコメント
Image Analyst
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.
Ammar
Ammar 2017 年 1 月 14 日
Dear Image Analyst, thank you very much for this comment. Yes, I just want to make the question more simple. I am looking for a function in MATLAB to find the point inside/outside the polygon in high dimensions (i.e. more than3D). Thanks.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeBounding Regions についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by