------------------------------------------------------------------------------- Computes the distance of each spacecraft from the center, given the relative position vector. ------------------------------------------------------------------------------- Form: out = ComputeDistance( varargin ) ------------------------------------------------------------------------------- ------ Inputs ------ varargin (:) Variable number of inputs, raw simulation data. ------- Outputs ------- out (1,:) Derived output data. -------------------------------------------------------------------------------