RotationMatrix - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Student[LinearAlgebra]

  

RotationMatrix

  

construct a rotation Matrix in two or three dimensions

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

RotationMatrix(t, v)

Parameters

t

-

rotation angle

v

-

(optional) Vector; axis of the rotation

Description

• 

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.

Examples

withStudentLinearAlgebra:

RotationMatrixπ4

22222222

(1)

Rotation about the y-axis in three-dimensional space:

RotationMatrixπ3,0,1,0

1203201032012

(2)

Rotation about an oblique vector in three-dimensional space:

RotationMatrix1.3,1,1,1

0.5116658857−0.31214352080.80047763500.80047763500.5116658857−0.3121435208−0.31214352080.80047763500.5116658858

(3)

See Also

Student[LinearAlgebra]

Student[LinearAlgebra][ReflectionMatrix]