Find the rotation matrix R_EN from n-vector

n_E2R_EN(n_E)

Arguments

n_E

n-vector decomposed in E (3x1 vector) (no unit)

Value

The resulting rotation matrix (direction cosine matrix) (no unit)

References

Kenneth Gade A Nonsingular Horizontal Position Representation. The Journal of Navigation, Volume 63, Issue 03, pp 395-417, July 2010.

See also

Examples

n_E2R_EN(c(1, 0, 0))
#> [,1] [,2] [,3] #> [1,] 0 0 -1 #> [2,] 0 1 0 #> [3,] 1 0 0