Learn R Programming

orientlib (version 0.10.5)

rotmatrix: Create an orientation using Euler angles

Description

Creates a rotmatrix-class object.

Usage

rotmatrix(a)

Value

A rotmatrix-class object.

Arguments

a

A 3 x 3 matrix or 3 x 3 x n array of matrices or an orientation object.

Author

Duncan Murdoch

See Also

rotmatrix-class, rotvector, eulerzyx, eulerzxz, quaternion, skewvector, skewmatrix

Examples

Run this code
x <- rotmatrix(matrix(c(1,0,0, 0,1,0, 0,0,1), 3, 3))
x

Run the code above in your browser using DataLab