InitializeCostMatrix:

Path: FormationFlying/Guidance

% Given the team goals, initialize the cost matrix "f" with the right size.

   Since version 7.
--------------------------------------------------------------------------
   Form:
   f = InitializeCostMatrix( teamGoals, nRelatives );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   teamGoals       (.)    Data structure of team goals
   nRelatives      (1)    Number of relatives in the team

   -------
   Outputs
   -------
   f              (:,N)   Blank cost matrix, where N = nRelatives

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

Children:

FormationFlying: DataStructures/Constraints_Structure
FormationFlying: DataStructures/Geometry_Structure
FormationFlying: DataStructures/TeamGoals_Structure

Back to the FormationFlying Module page