FFEccDYDX:

Path: FormationFlying/Derivatives

% Compute the slope of an ellipse, dy/dx, at a particular true anomaly. 
   Here, x is along the major axis and y is along the minor axis.

   This function is called by the "FFEccTrueAnomZInc" function to find the true  
   anomaly at which the maximum cross-track separation occurs, assuming a pure 
   inclination difference (no right ascension difference). At this true anomaly, 
   the slope (dy/dx) of the ellipse is equal to the tangent of the argument of 
   perigee, w. 

   If the argument of perigee is passed as a third input, the 
   difference between the slope and tan(w) will be returned.

--------------------------------------------------------------------------
   Form:
   dydx = FFEccDYDX( nu, e, w );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   nu              (1,N)  True anomaly [rad]
   e                (1)   Eccentricity
   w                (1)   Argument of perigee (optional, default 0)

   -------
   Outputs
   -------
   dydx            (1,N)  Slope on the ellipse at each true anomaly

--------------------------------------------------------------------------
	  Copyright 2004 Princeton Satellite Systems, Inc.
  	All rights reserved.
--------------------------------------------------------------------------
   Since version 7.
--------------------------------------------------------------------------

Back to the FormationFlying Module page