ATO Using Direct Transcription and Collocation - OTB

Demonstrates the solution of an aerospace trajectory optimization problem using direct transcription and collocation.
2.4K Downloads
Updated 15 Jul 2025

View License

This submission describes a technical approach and MATLAB script that demonstrate the use of direct transcription and collocation to solve aerospace optimal control problems. The computer program solves the problem described on pages 66-69 of the classic text, Applied Optimal Control, by Arthur E. Bryson, Jr. and Yu-Chi Ho.
This problem is summarized in the text as follows:
“Given a constant-thrust rocket engine, T = thrust, operating for a given length of time, t, we wish to find the thrust-direction history to transfer a rocket vehicle from a given initial circular orbit to the largest possible circular orbit.”
In the language of optimal control theory, this problem is a “continuous system with functions of the state variables prescribed at a fixed terminal time”. The numerical example given in the text is a continuous, low-thrust coplanar orbit transfer from Earth to Mars. The orbits of the planets are assumed to be circular and coplanar, and the total transfer time is about 193 days.

Cite As

David Eagle (2025). ATO Using Direct Transcription and Collocation - OTB (https://uk.mathworks.com/matlabcentral/fileexchange/38936-ato-using-direct-transcription-and-collocation-otb), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Visualization in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.4.0.0

Changed collocation method to compressed Hermite-Simpson. Updated PDF documentation.

1.3.0.0

Added main script (dto_trap_64bit.m) that uses the March 17, 2014 version of SNOPT.

1.2.0.0

Spelling correction of the title

1.1.0.0

Updated PDF document and several m-files. Now includes graphic display of the heliocentric planet orbits and transfer trajectory. PDF document includes new dimensional analysis section, trajectory diagram, etc.

1.0.0.0