Distance of a point to an Ellipsoid

  • Context: Undergrad 
  • Thread starter Thread starter jaykavathe
  • Start date Start date
  • Tags Tags
    Ellipsoid Point
Click For Summary
SUMMARY

The discussion focuses on calculating the shortest distance from a point to an ellipsoid surface using MATLAB. The point is represented as [X,Y,Z], while the ellipsoid's center is defined as [Xc,Yc,Zc]. The ellipsoid is characterized by a matrix of coefficients, which allows for the formulation of a quadratic equation. By deriving the parametric equations of the line connecting the point and the ellipsoid's center, users can solve for the parameter t to find the closest point on the ellipsoid surface.

PREREQUISITES
  • Understanding of ellipsoid equations and their representations
  • Familiarity with MATLAB programming
  • Knowledge of parametric equations
  • Basic algebra for solving quadratic equations
NEXT STEPS
  • Study MATLAB's symbolic toolbox for solving equations
  • Learn about the mathematical properties of ellipsoids
  • Explore parametric equations in 3D geometry
  • Investigate numerical methods for optimization in MATLAB
USEFUL FOR

Mathematics students, engineers, and developers working on simulations involving geometric computations, particularly those utilizing MATLAB for 3D modeling and analysis.

jaykavathe
Messages
1
Reaction score
0
I am working on a Matlab sim and I need to find the shorted distance of a point to an Elliposid surface.

The point is defined as [X,Y,Z].
Elliposid center is defined as [Xc,Yc,Zc]

Ellipsoid is defined as
A B C
E F G
H I J

(I don't if that's sufficient information for ellipsoid, assuming its having standard equation.)
 
Physics news on Phys.org
I really don't know what you mean by saying the ellipsoid is "given" by that array of letters but if you have an equation for the ellipsoid the most direct thing to do is write the equation for the line between the given point and the center of the ellipsoid. Put the parametric equations for the line, in terms of the parameter, t, say, into the equation of the ellipse to get a single quadratic equation for t. Put that t into the parametric equations to find the point. That quadratic equation will have two solutions. One gives the point on the ellipsoid closest to the given point, the other the point farthest away.
 

Similar threads

  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 1 ·
Replies
1
Views
833
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
5K