convex hull higher dimension
古いコメントを表示
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
- 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?
- how to calculate the hyperplane which has the shortest distance from the origin to convex hull?
- 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
回答 (1 件)
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);
カテゴリ
ヘルプ センター および File Exchange で Bounding Regions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!