📄 rotx.m
字号:
%ROTX Rotation about X axis%% TR = ROTX(theta)%% Returns a homogeneous transformation representing a rotation of theta % about the X axis.%% See also: ROTY, ROTZ, ROTVEC.% $Log: rotx.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 = rotx(t) ct = cos(t); st = sin(t); r = [1 0 0 0 0 ct -st 0 0 st ct 0 0 0 0 1];
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -