Mahalanobis distance between two vectors?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
K M Ibrahim Khalilullah
am 22 Sep. 2016
Kommentiert: K M Ibrahim Khalilullah
am 22 Sep. 2016
I want to calculate distance between two vector using Mahalanobis distance. Suppose, A=[2 3 4 5] and B=[4 5 6 7] How can I calculate Mahalanobis distance between the two vector? Is it possible like euclidean distance? Any one help me please. They make me confusion!!
2 Kommentare
Adam
am 22 Sep. 2016
You need a covariance matrix in order to calculate mahalanobis distance as it is a distance relative to a system where a unit distance is effectively the surface of a hypersphere of some orientation or other often represented by some statistical model.
Antworten (1)
Siehe auch
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!