平抛运动

clear;clc;figure
vx =50;         %初速度
t =0:0.001:10;  %时间向量
x = vx*t;       %x方向
y =-9.8*t.^2/2; %y方向
comet(x,y)      %

【Matlab的灵魂是绘图】

   clear;clc;figure
   vx =100*cos(1/4*pi);
   vy =100*sin(1/4*pi);
   t =0:0.001:15;
   x = vx*t;
   y =vy*t-9.8*t.^2/2;
  comet(x,y)

【Matlab的灵魂是绘图】

相关文章:

  • 2021-12-19
  • 2021-11-17
  • 2021-11-18
  • 2022-01-01
猜你喜欢
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案