File Exchange

image thumbnail

Ballistic Interplanetary Trajectory Optimization - OTB

version 1.0.0 (985 KB) by David Eagle
Optimization Toolbox version of the ipto.m MATLAB script which solves the two impulse, patched-conic trajectory problem.


Updated 02 Dec 2019

View License

PDF document and a MATLAB script called ipto_matlab_otb that can be used to design and optimize two impulse, “patched conic” ballistic interplanetary trajectories between any two planets of our solar system. It can also be used to find two-body trajectories between a planet and an asteroid or comet. A patched-conic trajectory ignores the gravitational effect of both the launch and arrivals planets on the heliocentric transfer trajectory. This technique involves the solution of Lambert's problem relative to the Sun. Patched-conic trajectories are suitable for preliminary mission design. This script uses the fmincon nonlinear programming (NLP) algorithm from the MATLAB Optimization Toolbox to solve this classic astrodynamics problem. The ipto_matlab_otb MATLAB script also performs a graphical primer vector analysis of the solution. This program feature displays the behavior of the primer vector magnitude and primer derivative magnitude as a function of mission elapsed time in days from departure.

Cite As

David Eagle (2021). Ballistic Interplanetary Trajectory Optimization - OTB (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

David Eagle

You're welcome Lamont. The plan is to convert all Orbital Mechanics with MATLAB scripts that use SNOPT to versions that use the Optimization Toolbox.

Lamont Granquist

Thanks for converting this to fmincon, a SNOPT license is a bit out of my budget.

MATLAB Release Compatibility
Created with R2019b
Compatible with R2019b
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!