Skip to content

roty

geometry · scripts/geometry/roty.m

: R = roty (ang)

Return the 3-by-3 matrix of a right-handed rotation by ang degrees about the y axis.

Angles that are multiples of 90 degrees give exact 0, 1 and -1 entries. The result is single precision for single input and double otherwise.