CollProbSet:
--------------------------------------------------------------------------
Calculates the probability of collision given two ellipsoid sets. For
a single ellipsoid relative to the origin, pass in empty matrices for
the second set of inputs. The inputs should have consistent units,
i.e. either m or km.
Since version 7.
--------------------------------------------------------------------------
Form:
[P] = CollProbSet( P0,S1,xc1,S2,xc2,Ssc, n );
[P] = CollProbSet( P0,S1,xc1,[],[] ,Ssc, n );
--------------------------------------------------------------------------
Inputs:
-------
P0 (1) Ellipsoid probability level, i.e. 1 for one sigma
S1, S2 (3,3) Ellipsoid definitions
xc1, xc2 (3,1) Centers of ellipsoids
Ssc (3,3) Definition of hard-body spacecraft (spherical)
n (1) Number of scaled ellipses to use
Outputs:
--------
P (1) Probability of collision
--------------------------------------------------------------------------
Children:
Common: Graphics/NewFig
FormationFlying: Collision/Ellipsoid
Math: Linear/Mag
Math: Linear/Unit