construct a rotation Matrix in two or three dimensions - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Student Package : Linear Algebra : Computation : Constructors : Student/LinearAlgebra/RotationMatrix

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 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

withStudent[LinearAlgebra]:

RotationMatrixπ4

122122122122

(1)

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

RotationMatrixπ3,0,1,0

120123010123012

(2)

Rotation about an oblique vector in three-dimensional space:

RotationMatrix1.3,1,1,1

0.51166588570.31214352080.80047763500.80047763500.51166588570.31214352080.31214352080.80047763500.5116658858

(3)

See Also

Student[LinearAlgebra], Student[LinearAlgebra][ReflectionMatrix]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam