Path: Interplanetary/Insertion
% Test fmincon against an analytical solution for the linear tangent law The test is for a lunar landing in 2D. The surface is assumed flat. The acceleration is constant. Requires fmincon from the MATLAB Optimization Toolbox. See also: Constant, BilinearTangentLaw, Simulate2DApproach, ApproachCost2D % -------------------------------------------------------------------------- Copyright (c) 2016 Princeton Satellite Systems, Inc. All rights reserved. -------------------------------------------------------------------------- Since 2016.1 --------------------------------------------------------------------------