getMahalanobis(X, MU)

Compute squared Mahalanobis distance
ダウンロード: 61
更新 2017/5/16

ライセンスの表示

MD = getMahalanobis(X, MU)

Compute SQUARED Mahalanobis distance between each multivariate observation in the matrix in X from
the "centroid", given by the vector MU. If MU is not included in the call, the function use the mean
vector of the dataset as centroid.

INPUT:

X : Dataset. in the form < Observations x Variables >
MU : Centroid. Vector of P elements in the form <1 x P>

OUTPUT:

MD : SQUARED Mahalanobis Distance of each observation from the centroid.
Vector of <N x 1> elements.

引用

Ruggero G. Bettinardi (2024). getMahalanobis(X, MU) (https://www.mathworks.com/matlabcentral/fileexchange/62982-getmahalanobis-x-mu), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2009a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersDimensionality Reduction and Feature Extraction についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

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