1
$\begingroup$

i need you help in solving the following problem:

given the "center form" of ellipsoid:

  • A : matrix of d*d where d is the dimension
  • c : center of the ellipsoid hold in a vector

how can i compute the angle of tilt of the ellipsoid from these two inputs in Matlab? And how can i compute the angle between 2 axes i.e. the axes of the ellipsoid and the axes of the coordinate system?

Thanks in advance.

$\endgroup$
1

1 Answer 1

1
$\begingroup$

Following this post of mine, the eigenvectors of your matrix $A$ will form a rotation matrix which turns a rotated ellipse into its axis-aligned (i.e. diagonal matrix) analogon, and vice versa. This generalizes to higher dimensions.

To read the angle from that matrix, follow this Wikipedia article on how to turn a rotation matrix into an axis and angle representation. Unfortunately, the formula you obtain from this doesn't generalize to other dimensions.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .