📄 r3.m
字号:
% Richard Rieber
% September 21, 2006
% function A = R3(x);
%
% This function creates a rotation matrix about the 3-axis (or the Z-axis)
%
% A = [cos(x) sin(x) 0;
% -sin(x) cos(x) 0;
% 0 0 1];
%
% Inputs: x - rotation angle in radians
% Outputs: A - the rotation matrix about the Z-axis
function A = R3(x);
A = [cos(x) sin(x) 0;
-sin(x) cos(x) 0;
0 0 1];
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -