Advertisement
Guest User

Untitled

a guest
Feb 27th, 2015
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. distance=1;
  2. tempHeight=computeHeightProjectile(distance,Angle,Speed);
  3. Y=[i,tempHeight];
  4. %save tempHeight to distance1 in array
  5. i=2;
  6. while tempHeight >= 0
  7. tempHeight=computeHeightProjectile(i,Angle,Speed);
  8. %save tempheight to corresponding distance in array
  9. Y=[i,tempHeight];
  10. i=i+1;
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement