Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- distance=1;
- tempHeight=computeHeightProjectile(distance,Angle,Speed);
- Y=[i,tempHeight];
- %save tempHeight to distance1 in array
- i=2;
- while tempHeight >= 0
- tempHeight=computeHeightProjectile(i,Angle,Speed);
- %save tempheight to corresponding distance in array
- Y=[i,tempHeight];
- i=i+1;
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement