Extract surface points from a 3D data file of a 3d H-type grid
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Shreshth
il 26 Giu 2024 alle 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.
0 Commenti
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!