Path: Interplanetary/Envionment
% Computes the geocentric magnetic field based on a tilted dipole model. This function includes all planets with magnetic fields. It calls BDipole if planet is not entered or it is the Earth. Type BDipolePlanet for a demonstration of a spacecraft around jupiter -------------------------------------------------------------------------- Form: b = BDipolePlanet( r, jD, planet ) -------------------------------------------------------------------------- ------ Inputs ------ r (3,:) Position vector in the ECI frame (km) jD (1,:) Julian date planet (1,:) Planet name (not case sensitive) ------- Outputs ------- b (3,:) Magnetic field in the ECI frame (T) -------------------------------------------------------------------------- Reference: https://nssdc.gsfc.nasa.gov/planetary/factsheet/ --------------------------------------------------------------------------
Orbit: OrbitMechanics/RVOrbGen SC: Environs/BDipole SC: Ephem/ECIToPlanet Common: Database/Constant Common: Graphics/Plot2D Common: Time/Date2JD Math: Linear/Mag Math: Linear/Unit Math: Trigonometry/CosD Math: Trigonometry/SinD
Back to the Interplanetary Module page