Learn R Programming

GEOmap (version 2.1)

roty4: y-axis rotation matrix

Description

y-axis rotation matrix

Usage

roty4(vec)

Arguments

vec
vector of direction cosines

Value

  • Matrix for rotation

Details

Length of vector cannot be zero.

References

Rogers and Adams

See Also

rotx4, rotdelta4

Examples

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

roty4(v)

Run the code above in your browser using DataLab