xyz_rotation_matrix: Calculate rotation matrix

View source: R/xyz_rotation_matrix.R

xyz_rotation_matrixR Documentation

Calculate rotation matrix

Description

For an given theta and axis for rotation, return the appropriate 3x3 rotation matrix.

Usage

xyz_rotation_matrix(theta, axis)

Arguments

theta

numeric angle in radians

axis

character for axis of rotation, "x", "y", or "z"

Value

3x3 rotation matrix


Middleton-Lab/KinematicAnalysis documentation built on March 27, 2022, 7:36 a.m.