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.
David Eagle (2021). Ballistic Interplanetary Trajectory Optimization - OTB (https://www.mathworks.com/matlabcentral/fileexchange/73513-ballistic-interplanetary-trajectory-optimization-otb), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
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.
Thanks for converting this to fmincon, a SNOPT license is a bit out of my budget.