- Use inpolygon, get indices, fill the logicals.
- Use ineqalities and get logicals straight away.
How to fill a 3D logical matrix by a series of point coordinates?
1 回表示 (過去 30 日間)
古いコメントを表示
I am trying to develop an algorithm inwhich I need to demonstrate a 3D area by a logical matrix (1 inside a surface, 0 outside). I have a surface shown as a series of points which are floating point coordinates. How can I fill in a shape inside a logical 3D matrix annotated by this surface?
0 件のコメント
回答 (1 件)
KSSV
2019 年 5 月 27 日
Multiple ways:
2 件のコメント
参考
カテゴリ
Help Center および File Exchange で Surface and Mesh Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!