Path: LunarMissions/LunarLanding
% 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. Assumes u is along -x. Requires fmincon from the MATLAB Optimization Toolbox. See also: Constant, BilinearTangentLaw, Simulate2DLanding, LandingCost2D, LandingConst2D % -------------------------------------------------------------------------- Copyright (c) 2015 Princeton Satellite Systems, Inc. All rights reserved. -------------------------------------------------------------------------- Since 2016.1 --------------------------------------------------------------------------