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 (2025). Centroid of a Convex n-Dimensional Polyhedron (https://jp.mathworks.com/matlabcentral/fileexchange/8514-centroid-of-a-convex-n-dimensional-polyhedron), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R14SP2
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersComputational Geometry についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0