필터 지우기
필터 지우기

How to get 'extra' information from convhulln

조회 수: 1 (최근 30일)
M. F.
M. F. 2015년 9월 25일
편집: M. F. 2015년 9월 25일
Hi all,
I am using the convhulln function to calculate the convex hull c and the volume V of a set of n-dimensional data x Convhulln uses the qhull library (<http://www.qhull.org/)>.
I would like to know the sum of the area's of all facets of this convex hull. According to the documentation of QHULL, this can be achieved by sending the option FA along with the data. (sourc: http://www.qhull.org/html/qh-optf.htm#FA)
The problem now is that this data does not show when calling the function like this:
[c, V] = convhulln(x,{'FA'});
According to this same documentation, the area should be printed in the summary of the results. How do I access this summary? Is this possible through the convhulln function?
Thanks in advance

채택된 답변

John D'Errico
John D'Errico 2015년 9월 25일
No, you cannot return the area. Just because qhull CAN return that information if you were to call it directly, the MATLAB code does not return that information. It is not provided.
That does not say it is difficult to compute the area. In fact, this is quite easy, since you have all the information needed. You don't say what n is, so I can't answer that part.
  댓글 수: 1
M. F.
M. F. 2015년 9월 25일
편집: M. F. 2015년 9월 25일
Thanks for the quick response!
Perhaps I'll try to connect with QHULL myself then.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Bounding Regions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by