Learn R Programming

GEOmap (version 1.5-8)

rotx4: x-axis rotation matrix

Description

x-axis rotation matrix

Usage

rotx4(vec)

Arguments

vec
vector of direction cosines

Value

  • Matrix for rotation

Details

Length of vector cannot be zero.

See Also

roty4

Examples

Run this code
v = c(12,13,-4)

rotx4(v)

Run the code above in your browser using DataLab