www.gusucode.com > vision 源码程序 matlab案例代码 > vision/ComputeRotationMatrixFromRotationVectorExample.m
%% Convert Rotation Vector to Rotation Matrix % %% % Create a vector representing a 90-degree rotation about the _Z_ -axis. rotationVector = pi/2 * [0, 0, 1]; %% % Find the equivalent rotation matrix. rotationMatrix = rotationVectorToMatrix(rotationVector)