tr2rot.m

来自「robot toolbox很多不全面」· M 代码 · 共 25 行

M
25
字号
%TR2ROT Return rotational submatrix of a homogeneous transformation%%	R = TR2ROT(T)%% Return R the 3x3 orthonormal rotation matrix from the homogeneous % transformation T.%% SEE ALSO: ROT2TR% $Log: tr2rot.m,v $% Revision 1.2  2002/04/01 11:47:19  pic% General cleanup of code: help comments, see also, copyright, remnant dh/dyn% references, clarification of functions.%% $Revision: 1.2 $% Copyright (C) 1999-2002, by Peter I. Corkefunction R = tr2rot(T)	if ~ishomog(T)		error('input must be a homogeneous transform');	end	R = T(1:3,1:3);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?