Learn R Programming

GEOmap (version 2.5-11)

rotx4: x-axis rotation matrix

Description

x-axis rotation matrix

Usage

rotx4(vec)

Value

Matrix for rotation

Arguments

vec

vector of direction cosines

Author

Jonathan M. Lees<jonathan.lees@unc.edu>

Details

Length of vector cannot be zero.

See Also

roty4, rotdelta4

Examples

Run this code

v = c(12,13,-4)

rotx4(v)



Run the code above in your browser using DataLab