50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

GEOmap (version 2.1)

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, rotdelta4

Examples

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

rotx4(v)

Run the code above in your browser using DataLab