Distance between points and ellipse
http://www.mathworks.com/matlabcentr...ts-and-ellipse

Determine the distance between two ellipses (in 3D)
http://www.mathworks.com/matlabcentr...ellipses-in-3d