Centroid of a Convex n-Dimensional Polyhedron
버전 1.0.0.0 (883 Bytes) 작성자:
Michael Kleder
Computes the center of gravity of a convex polyhedron in any number of dimensions.
다운로드 수: 5.4K
업데이트 날짜:
2005/9/21
라이선스 없음
USAGE: C = centroid(P)
P = Matrix of convex polyhedron vertices: each row is a vertex, and each column is a dimension.
C = Row vector of centroid coordinates. Each column is a dimension.
Notes:
(1) This function computes the centroid by partitioning into simplices and determining the weighted sum of their centroids.
(2) Written in response to a question on comp.soft-sys.matlab
Michael Kleder, Sep 2005
인용 양식
Michael Kleder (2024). Centroid of a Convex n-Dimensional Polyhedron (https://www.mathworks.com/matlabcentral/fileexchange/8514-centroid-of-a-convex-n-dimensional-polyhedron), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R14SP2
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
Help Center 및 MATLAB Answers에서 Computational Geometry에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 |