Learn R Programming

RFOC (version 2.0-00)

JMAT: Vertical Rotation matrix

Description

Vertical Rotation matrix

Usage

JMAT(phi)

Arguments

phi
angle, degrees

Value

  • 3 by 3 matrix

Details

First rotate to plan, then within plane rotate to view angle.

See Also

ROTX, ROTZ, ROTY

Examples

Run this code
phi = 18

MAT = JMAT(phi)

v1 = c(1,1,0)

v2 = MAT

Run the code above in your browser using DataLab