PDF document and a MATLAB script called e2m_tcm which can be used to solve the classic one impulse, Earth-to-Mars interplanetary trajectory correction maneuver (TCM) optimization problem. The software implements a simple shooting method that attempts to minimize the TCM delta-v while numerically integrating the n-body heliocentric equations of motion and solving for user-defined final orbit conditions at Mars.
David Eagle (2020). A MATLAB Script for Earth-to-Mars Interplanetary TCM Optimization (https://www.mathworks.com/matlabcentral/fileexchange/48690-a-matlab-script-for-earth-to-mars-interplanetary-tcm-optimization), MATLAB Central File Exchange. Retrieved .