rotz.m
来自「移动机器人同时定位与地图创建最前沿技术」· M 代码 · 共 16 行
M
16 行
%ROTZ Rotation about Z axis
%
% ROTZ(theta) returns a homogeneous transformation representing a
% rotation of theta about the X axis.
%
% See also ROTX, ROTY, ROTVEC.
% Copyright (C) Peter Corke 1990
function 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 + -
显示快捷键?