?? roty_.m
字號:
function [xd,yd,zd]=roty_(x,y,z,th)
cosf=cos(th*pi/180);sinf=sin(th*pi/180);
yd =y;
xd = cosf.*x + sinf.*z;
zd = - sinf.*x + cosf.*z;
% roty_.m
% roty_(x,y,z,th) rotates a vector [x,y,z]
% th degrees counter-clockwise about
% the y-axis. See Appendix B; List B.1
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -