ZermeloAnalyticalCost:

Path: Orbit/Optimization

% Computes the analytical cost for Zermelo's problem.
 This is a test case for TrajectoryOptimization.
--------------------------------------------------------------------------
   Form:
   c = ZermeloAnalyticalCost( theta, x1, y1 )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   theta         (2,1) Control angles, [initial final]
   x1            (1,1) x-coordinate
   y1            (1,1) y-coordinate

   -------
   Outputs
   -------
   c             (1,1) Cost

--------------------------------------------------------------------------
   Reference: Bryson and Ho, "Applied Optimal Control", Hemisphere Publishing, 1975. 
--------------------------------------------------------------------------

Back to the Orbit Module page