📄 clxrotzf.m
字号:
function yh3rotz=clxrotzf(xto_rot,theta_rot)% CALL: yh3rotz=clxrotzf(xto_rot,theta_rot)% Rotate the vector xto_rot by the angle theta_rot % around the z axis% xto_rot must be a 4 x 1 column vector, theta_rot in degrees.theta_rot=theta_rot*pi/180; % Convert to radiansArotz=[cos(theta_rot) -sin(theta_rot) 0 0;sin(theta_rot)... cos(theta_rot) 0 00 0 1 0;0 0 0 1];yh3rotz=Arotz*xto_rot;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -