Extract surface points from a 3D data file of a 3d H-type grid
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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
0 Kommentare
Antworten (1)
Shreshth
am 26 Jun. 2024
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.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!