Mahalanobis distance between a point and a line
Mostrar comentarios más antiguos
hi all,
I am wondering if fellow reader can help me out to find a proper paper to calculate the Mahalanobis distance between a line and a point. I have found paper discussing "whitening transform" used to compute the Mahalanobis distance between a plane and a point, but could not find anything to for line/point.
mainly working in 3D.
thanks,
2 comentarios
José-Luis
el 24 de Abr. de 2014
How is this a Matlab question?
Elvis Chen
el 24 de Abr. de 2014
Respuesta aceptada
Más respuestas (3)
José-Luis
el 24 de Abr. de 2014
doc pdist
doc mahal
And by distance between a point and a line do you mean the shortest distance? Also, the mahalanobis distances requires you know the covariances of the distribution (that you are assuming to be normal) you are calculating the distance to. How do you expect to find the covariance of a single point? Or of a line?
Elvis Chen
el 24 de Abr. de 2014
0 votos
Image Analyst
el 3 de Mayo de 2014
0 votos
Not sure what the noise/uncertainty has to do with it, but for a given point, and a given line, why can't you just use the formula to find the distance: http://mathworld.wolfram.com/Point-LineDistance2-Dimensional.html
1 comentario
Elvis Chen
el 6 de Mayo de 2014
Categorías
Más información sobre Hilbert and Walsh-Hadamard Transforms en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!