convex hull higher dimension

3 vues (au cours des 30 derniers jours)
rajkumar
rajkumar le 4 Déc 2013
hi,
I am working on 6 dimension W=[x y z tx ty tz] lets say 48 inputs points are given with the following coordinates (x y z tx ty tz)
i used
[P,v]=convhulln(W,{'Qt','Qx'})
and i got length(p)=1006 (facets) and 6 dimension
Questions
  1. the triangulation method gives 3 sets of vertex for a facet for 3d but for 6d it gives 6 sets of vertices. how it works?
  2. how to calculate the hyperplane which has the shortest distance from the origin to convex hull?
  3. the facets are in 6 dimension how to calculate the normal of this facet. since the cross product is valid for 3 dimensions. moreover i need to use this way to calculate the minimum distance from origin.
BR
Raj

Réponses (1)

Matt J
Matt J le 4 Déc 2013
Modifié(e) : Matt J le 4 Déc 2013
If your polytope is bounded, you can use VERT2LCON to obtain the linear (in)equalities representing it
[A,b,Aeq,beq]=vert2lcon(Points);
Assuming the region is solid in R^6, Aeq and beq will be empty and the rows of A will be the facet normals.
To find the minimum distance hyperplane, assuming the origin is outside the hull, use lsqlin
hyperplaneNormal=lsqlin(speye(6),zeros(6,1),A,b,Aeq,beq);

Catégories

En savoir plus sur Bounding Regions 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