Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a236c69c1ee72947

Jump to content

// Workers AI · dad joke modeWhat did Wahba's problem say to the solution? "You're always orienting me.

From Wikipedia, the free encyclopedia

In applied mathematics, Wahba's problem, first posed by Grace Wahba in 1965, seeks to find a rotation matrix (special orthogonal matrix) between two coordinate systems from a set of (weighted) vector observations. Solutions to Wahba's problem are often used in satellite attitude determination utilising sensors such as magnetometers and multi-antenna GPS receivers. The cost function that Wahba's problem seeks to minimise is as follows:

for

where is the k-th 3-vector measurement in the reference frame, is the corresponding k-th 3-vector measurement in the body frame and is a 3 by 3 rotation matrix between the coordinate frames.[1] is an optional set of weights for each observation.

A number of solutions to the problem have appeared in literature, notably Davenport's q-method,[2] QUEST and methods based on the singular value decomposition (SVD). Several methods for solving Wahba's problem are discussed by Markley and Mortari.

This is an alternative formulation of the orthogonal Procrustes problem (consider all the vectors multiplied by the square-roots of the corresponding weights as columns of two matrices with N columns to obtain the alternative formulation). A compact and elegant derivation can be found in Appel (2015).[3]

Solution via SVD

[edit]

One solution can be found using a singular value decomposition (SVD).

1. Obtain a matrix as follows:

2. Find the singular value decomposition of

3. The rotation matrix is simply:

where

Notes

[edit]
  1. The rotation in the problem's definition transforms the body frame to the reference frame. Most publications define rotation in the reverse direction, i.e. from the reference to the body frame which amounts to .
  2. "Davenport's Q-method (Finding an orientation matching a set of point samples)". Mathematics Stack Exchange. Retrieved 2020-07-23.
  3. Appel, M. "Robust Spoofing Detection and Mitigation based on Direction of Arrival Estimation" (PDF). Ion GNSS+ 2015. 28.

References

[edit]

See also

[edit]