⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vrot.m

📁 Advanced Engineering Mathematics using MATLAB by Harman, Dabney, Richert,书中全部源码
💻 M
字号:
function y2rot=vrot(xto_rot,theta_rot)% CALL: y2rot=vrot(xto_rot,theta_rot)%  Rotate the vector xto_rot by the angle theta_rot%  x must be a 2 x 1 column vector, theta_rot in degrees.theta_rot=theta_rot*pi/180;       % Convert to radiansArot=[cos(theta_rot) -sin(theta_rot);sin(theta_rot) cos(theta_rot)];y2rot=Arot*xto_rot;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -