A MATLAB script for Earth-to-Mars Mission Design - OTB

Version 1.3.0 (16.1 MB) by David Eagle
Optimization Toolbox version of the e2m_matlab script that performs Earth-to-Mars mission analysis and design.
Updated 7 Aug 2021

View License

PDF document and a MATLAB script named e2m_matlab_otb.m that can be used to design and optimize end-to-end ballistic interplanetary missions from Earth park orbit to encounter at Mars. The software assumes that interplanetary injection occurs impulsively from a circular Earth park orbit. The B-plane coordinates are expressed in a Mars-centered (areocentric) mean equator and IAU node of epoch coordinate system. B-plane targets are enforced using either a combination of periapsis radius and orbital inclination, individual B-plane coordinates of the arrival hyperbola, or entry interface (EI) conditions at Mars. The type of targeting and the target values are defined by the user.

Cite As

David Eagle (2024). A MATLAB script for Earth-to-Mars Mission Design - OTB (https://www.mathworks.com/matlabcentral/fileexchange/73646-a-matlab-script-for-earth-to-mars-mission-design-otb), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
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

Updated script to use the *.bsp ephemeris files. Minor updates to the source code.


Added trajectory verification calculations and updated documentation


Added node/apse targeting. Added additional examples. Updated PDF document.


added "verify optimal solution" calculations