File Exchange

image thumbnail

earth_moon_orbit_an​imation

version 1.0.1 (3.58 KB) by Aryeh Laks
Simulation of projectile motion and orbital mechanics using both the Classical 4th Order Runge-Kutta method and Euler's Method

7 Downloads

Updated 23 Apr 2019

View License

Note: must also be used with earth_moon_orbit_ode45 at https://www.mathworks.com/matlabcentral/fileexchange/71313-earth_moon_orbit_ode45

Depicts the path in 3 dimensions of a projectile being affected by the gravity of the Earth and the Moon using both the Classical 4th Order Runge-Kutta Method and Euler's Method. A special thank you to Professor Mark Edelen who taught the Mat-lab Programming & Numerical Methods class at Howard Community College. He created a program similar to this that simulated Apollo 13's flight path which inspired this program, and believed in my ability to create such a program.

See also https://www.mathworks.com/matlabcentral/fileexchange/69476-earth_moon_orbit_va-riable_timesteps for a similar version of this program

Cite As

Aryeh Laks (2019). earth_moon_orbit_animation (https://www.mathworks.com/matlabcentral/fileexchange/70598-earth_moon_orbit_animation), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

Updates

1.0.1

Math error was found and corrected. ode45 was added in to check the results of the other methods. Graphics were updated.

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor