Student[LinearAlgebra]
RotationMatrix
construct a rotation Matrix in two or three dimensions
Calling Sequence
Parameters
Description
Examples
RotationMatrix(t, v)
t
-
rotation angle
v
(optional) Vector; axis of the rotation
The RotationMatrix(t) command returns the 2x2 rotation Matrix corresponding to the angle t, measured in radians.
The RotationMatrix(t,v) command returns the 3x3 rotation Matrix corresponding to the angle t, where the rotation axis is given by v. The direction of rotation is determined by using the right-hand rule with respect to v.
with⁡StudentLinearAlgebra:
RotationMatrix⁡π4
22−222222
Rotation about the y-axis in three-dimensional space:
RotationMatrix⁡π3,0,1,0
12032010−32012
Rotation about an oblique vector in three-dimensional space:
RotationMatrix⁡1.3,1,1,1
0.5116658857−0.31214352080.80047763500.80047763500.5116658857−0.3121435208−0.31214352080.80047763500.5116658858
See Also
Student[LinearAlgebra][ReflectionMatrix]
Download Help Document