Satellite Trajectory

version (524 KB) by Huy Nguyen
Tool for visualizing spacecraft trajectory around a planet in various coordinate systems.


Updated 7 May 2021

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Inputs are the Keplerian orbital elements, planet properties, and ground station coordinates. Tabs include plots of spacecraft trajectory in the following coordinate systems:

Planet-Centered Inertial
Earth-Centered, Earth-Fixed (Planet-Centered Rotational)

Includes animation and slider controls for plotting the position of the spacecraft within the time frame defined from the time of periapsis passage, tau, to an arbitrary time, t_1. Four example .ini configurations are included to demonstrate usage.

Units are in SI (km) with options to select degrees or radians (as of version 1.1.0).

Cite As

Huy Nguyen (2022). Satellite Trajectory (, MATLAB Central File Exchange. Retrieved .

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

Inspired by: INI Config

Community Treasure Hunt

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

Start Hunting!