📄 rotation.m
字号:
function rotcoord = rotation(coord,alpha)% rotates all coordinates round the coordinate origin for the angle% 'alpha'. a full circle is 2*pi. the rotation is clockwise.%% usage: (rotcoord) = rotation(coord,alpha)% 19.6.2003 Rolf Sidlerrotcoord(:,1) = cos(alpha).*coord(:,1)+sin(alpha).*coord(:,2);rotcoord(:,2) = -sin(alpha).*coord(:,1)+cos(alpha).*coord(:,2);rotcoord(:,3) = coord(:,3);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -