LandingCost3D:

Path: LunarMissions/LunarLanding

% Cost for the landing for a 3D planet problem.
 The cost is the weighted sum of total time and fuel mass.
 This is computed from the decision variable.
--------------------------------------------------------------------------
   Form:
   cost = LandingCost3D( x, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x       (:,1)   [beta;alpha;thrust;dT]
   d        (.)    Data structure describing spacecraft model
                   .timeW (1,1)  Time weight
                   .fuelW (1,1)  Fuel weight
                   .uE    (1,1)  Exhaust velocity

   -------
   Outputs
   -------
   cost    (1,1)   Time weighted with total fuel consumed

--------------------------------------------------------------------------

Back to the LunarMissions Module page