Runge-Kutta 4th Order Orbit Simulation

Version 1.0.0 (3.42 KB) by Ozan Kilic
Satellite Propagation with Runge-Kutta 4th Order Numerical Integration Method
1.2K Downloads
Updated 24 Jan 2019

View License

In celestial mechanics numerical methods are widely used to solve differential equations. 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
Output: Propagated Satellite PV Vector in ECI Frame of Reference

Call: [X_RK] = RK_4(X,h,steps)

Cite As

Ozan Kilic (2025). Runge-Kutta 4th Order Orbit Simulation (/matlabcentral/fileexchange/70076-runge-kutta-4th-order-orbit-simulation), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0