rotz.m
来自「robot toolbox很多不全面」· M 代码 · 共 25 行
M
25 行
%ROTZ Rotation about Z axis%% TR = ROTZ(theta)%% Returns a homogeneous transformation representing a rotation of theta % about the Z axis.%% See also: ROTX, ROTY, ROTVEC.% $Log: rotz.m,v $% Revision 1.2 2002/04/01 11:47:16 pic% General cleanup of code: help comments, see also, copyright, remnant dh/dyn% references, clarification of functions.%% $Revision: 1.2 $% Copyright (C) 1993-2002, by Peter I. Corkefunction r = rotz(t) ct = cos(t); st = sin(t); r = [ct -st 0 0 st ct 0 0 0 0 1 0 0 0 0 1];
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?