quattomatrix expression function

Converts quaternion to a 3×3 rotation matrix.

See also: matrixtoquat

Usage

quattomatrix(q)