SetupAssignmentProblem:

--------------------------------------------------------------------------
   Set up the parameters for the assignment problem given the team goals struct.

   Since version 7.
--------------------------------------------------------------------------
   Usage:
   [N,M,P,Pu,Q,phi,u] = SetupAssignmentProblem( teamGoals );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   teamGoals     (.)   Goals data structure defining desired relative motion for team
   orbFrac       (1)   Fraction of orbit (may be >1) over which variable states are defined

   -------
   Outputs
   -------
   N             (1)   Number of objects 
   M             (1)   Number of fixed states
   P             (1)   Number of variable states
   Pu            (1)   Number of unique variable states
   Q             (1)   Number of points over which variable states are discretized
   phi          (1,P)  Array of desired phase offsets for variable states
   u            (1,P)  Array of indices matching phase offsets with unique variable states
   
--------------------------------------------------------------------------

Children:

FormationFlying: Coord/CirclePhase