Home > other >  How to calculate point in matlab to the ellipsoid of the shortest distance?
How to calculate point in matlab to the ellipsoid of the shortest distance?

Time:11-21

RT, millions of uniform distribution in the point, there is a known equations of ellipsoid coordinate system origin, now need to repeated random choose a point on the outside of the ellipsoid, and then calculate the shortest distance to the ellipsoid point, should be how to do this operation will be more convenient?

In addition, after calculate the shortest distance, there are two kinds of data storage method, the first is the direct use of two-dimensional matrix to store the corresponding point coordinates and the distance, the second is to use the three dimensional array to store the distance of the corresponding points directly, which storage method, the calculation will be convenient?
  • Related