orientlib (version 0.10.3)

rotmatrix: Create an orientation using Euler angles

Description

Creates a rotmatrix-class object.

Usage

rotmatrix(a)

Arguments

a

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

Value

A rotmatrix-class object.

See Also

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

Examples

Run this code
# NOT RUN {
x <- rotmatrix(matrix(c(1,0,0, 0,1,0, 0,0,1), 3, 3))
x
# }

Run the code above in your browser using DataCamp Workspace