Updated 01 Jan 2020
PDF document and a MATLAB script called flyby_matlab that can be used to design and optimize interplanetary trajectories that include a single gravity assist maneuver. The user specifies the launch, flyby and destination planets, and the desired flyby altitude. The algorithm also requires initial guesses for the launch, flyby and arrival calendar dates. This script searches for a patched-conic gravity-assist trajectory that satisfies the flyby mission constraints (V-infinity matching and user-defined flyby altitude) and minimizes the launch, arrival or total impulsive delta-v for the mission. The type of delta-v optimization is specified by the user.
David Eagle (2020). Interplanetary, patched-conic gravity assist - OTB version (https://www.mathworks.com/matlabcentral/fileexchange/73547-interplanetary-patched-conic-gravity-assist-otb-version), MATLAB Central File Exchange. Retrieved .
Minor editing and rename of objective and constraints functions.