Effacer les filtres
Effacer les filtres

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

3 vues (au cours des 30 derniers jours)
Javier
Javier le 16 Fév 2011
Réponse apportée : Shreshth le 26 Juin 2024 à 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

Réponses (1)

Shreshth
Shreshth le 26 Juin 2024 à 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.

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by