DISTMAHA Mahalanobis distance
D = DISTMAHA (A,U,G)
DescriptionComputes the M*N Mahanalobis distance matrix of all vectors in M*K dataset A to an N*K dataset of points U, using the covariance matrix or matrices G. G should be either be one K*K matrix, or a K*K*N matrix containing a covariance matrix for each point in U. When U and G are not specified, it estimates the C*C Mahalanobis distance matrix between all classes in A: the distance between the means, relative to the average per-class covariance matrix. See alsodatasets, distm, proxm, meancov,
|