ZermeloAnalyticalCost:
--------------------------------------------------------------------------
Computes the analytical cost for Zermelo's problem.
Since version 7.
--------------------------------------------------------------------------
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.
--------------------------------------------------------------------------