Path: Interplanetary/Envionment
% Finds the distance to the sun and the solar flux. For moons this uses only the planetary distance. -------------------------------------------------------------------------- Form: [r, f] = PlanetaryDistanceToSun( name, jD ) -------------------------------------------------------------------------- ------ Inputs ------ name (1,:) Name of moon or planet jD (1,:) Julian date (days) ------- Outputs ------- r (1,:) Distance (au) f (1,:) Solar flux (W/m^2) --------------------------------------------------------------------------