Runge-Kutta 4th Order Orbit Simulation - File Exchange ...
www.mathworks.com › matlabcentral › fileexchangeJan 24, 2019 · In this code, Runge-Kutta 4th Order method is used for numerical integration of equation of orbital motion according to Newton's law of gravitation to simulate object's trajectory around the Earth. Inputs: Position and Velocity vector (x,y,z,vx,vy,vz) OR. Keplerian Elements (a, e, i, Omega, w, M) h = Step Size. steps = Number of Step.