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

📄 clprojf.m

📁 Advanced Engineering Mathematics using MATLAB by Harman, Dabney, Richert,书中全部源码
💻 M
字号:
function xdot = clprojf(t,x) % CALL: xdot = clprojf(t,x) to define equations of motion %   with drag for Example 6.10%  x''=-drag*v*x'     x1=x, xdot1=x'=x3  xdot3=x''%  y''=-drag*v*y'-g   x2=y, xdot2=y'=x4  xdot4=y''% OUTPUT: xdot is column matrix of solutions for time point tglobal drag gV=sqrt(x(3)^2 + x(4)^2);  xdot(1)=x(3);                 % represents x'xdot(2)=x(4);                 % represents y'xdot(3)=-drag*V*x(3);         % represents x''xdot(4)=-drag*V*x(4)-g;       % represents y''%%  Modify the definition of xdot to change the system%   equations

⌨️ 快捷键说明

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