Hello dear experts in Matlab,
I did a Matlab code to simulate the motion of a projectile in air.
I hope to find TEN reasonable corresponging values (vectors) for the four components (X-velocity, Y-velocity, X-displacement, and Y-displacement) against the Time period (t=[0:0.5:4.5]).
The code that I did fails in executing reasonable values. I don't know what is wrong with it OR with the Four Functions it calls to run.
To simplify reading my codes that I ATTACHED HERE;
xcomp1 file is the functiond of x-velocity (v_x)
xcomp11 file is the functiond of x-displacement (s_x)
ycomp2 file is the functiond of y-velocity (v_y)
ycomp22 file is the functiond of y-displacement (s_y)
My deep thanks for each notice and support!
Best Answer