Align a set of points along its principal axes.

   TRANSFO = principalAxesTransform(PTS)
   Computes the affine transform that will transform the input array PTS
   such that its principal axes become aligned with main axes.

   [TRANSFO, PTS2] = principalAxesTransform(PTS)
   Also returns the result of the transform applied to the points.

   Example
   principalAxesTransform

   See also
     principalAxes, equivalentEllipse, equivalentEllipsoid

Package: matgeom