Path: FormationFlying/Collision
% Generate a time vector evenly spaced over true anomaly (for an eccentric orbit) -------------------------------------------------------------------------- Form: [t,M,nu] = GenerateTimeVector(d,tF,nPts) -------------------------------------------------------------------------- ------ Inputs ------ d (:) Collision data structure tF (1,1) Final propagated time nPts (1,1) Number of discretization points per orbit ------- Outputs ------- t (1,n) Time vector M (1,n) Mean anomaly vector nu (1,n) True anomaly vector --------------------------------------------------------------------------