www.gusucode.com > robotics 案例源码程序 matlab代码 > robotics/ConvertRotationMatrixtoQuaternionExample.m
%% Convert Rotation Matrix to Quaternion % Copyright 2015 The MathWorks, Inc. %% rotm = [0 0 1; 0 1 0; -1 0 0]; quat = rotm2quat(rotm)