Student[LinearAlgebra][RotationMatrix] - construct a rotation Matrix in two or three dimensions
|
Calling Sequence
|
|
RotationMatrix(t, v)
|
|
Parameters
|
|
t
|
-
|
rotation angle
|
v
|
-
|
(optional) Vector; axis of the rotation
|
|
|
|
|
Description
|
|
•
|
The RotationMatrix(t) command returns the rotation Matrix corresponding to the angle t, measured in radians.
|
•
|
The RotationMatrix(t,v) command returns the 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.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
Rotation about the y-axis in three-dimensional space:
>
|
|
| (2) |
Rotation about an oblique vector in three-dimensional space:
>
|
|
| (3) |
|
|
Download Help Document
Was this information helpful?