www.gusucode.com > robotics 案例源码程序 matlab代码 > robotics/ConvertRotationMatrixtoHomogeneousTransformationExample.m

    %% Convert Rotation Matrix to Homogeneous Transformation  

% Copyright 2015 The MathWorks, Inc.


%%  
rotm = [1 0 0 ; 0 -1 0; 0 0 -1];
tform = rotm2tform(rotm)