FUNCTION REFERENCE
rotationVectorToMatrix
Rotation matrix of an axis-angle rotation vector (postmultiply convention).
Rotation matrix of an axis-angle rotation vector (postmultiply convention).
Syntax
R = rotationVectorToMatrix(rotationVector)rotationVector is a 3-element axis scaled by the angle in radians. R is the transpose of the Rodrigues matrix, for row points p * R (the convention of cameraParameters.RotationMatrices and worldToImage); rotvec2mat3d returns the premultiply form R.'.
Example
rotationVectorToMatrix(pi/2 * [0 0 1]) % [0 1 0; -1 0 0; 0 0 1]These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.