nan_kappa Classification nan_partest

NaN Toolbox >> NaN Toolbox > Classification > nan_mahal

nan_mahal

return the Mahalanobis' D-square distance

Description

d(k) = (X(k,:)-MU)*inv(SIGMA)*(X(k,:)-MU)'

where MU and SIGMA are the mean and the covariance matrix of Y

return the Mahalanobis' D-square distance between the multivariate samples x and y, which must have the same number of components (columns), but may have a different number of observations (rows).

See also

Authors

nan_kappa Classification nan_partest