필터 지우기
필터 지우기

Extract surface points from a 3D data file of a 3d H-type grid

조회 수: 3 (최근 30일)
Javier
Javier 2011년 2월 16일
답변: Shreshth 2024년 6월 26일 4:36
Hello.
I need to write a code in Matlab which selects only the outer points from a bunch of 3D points.
I have a data file which contains all the points from a three dimensional H-type grid. The H-type grid is (71x31x31), and therefore, the dimension of my initial matrix is (68231x3). The 3 dimensional grid is not uniform, it is kinda bended and shaped, i mean, all the points seem to be scattered in the space but they follow the H-type grid.
Any suggestions?? I am asking for ideas on how the logic of the code should be, or if matlab have some functions that allow me to do this.
Cheers

답변 (1개)

Shreshth
Shreshth 2024년 6월 26일 4:36
Hey,
To select the outer points from a 3D H-type grid in MATLAB, follow these steps:
1. **Load the Data**: Read the 3D points from your data file.
2. **Identify Boundary Points**: Determine the minimum and maximum values along each dimension (X, Y, Z).
3. **Filter the Points**: Extract points that match these boundary values.
Additionally, consider using a tolerance for numerical precision and visualize the points to ensure correctness.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by