Path: SC/Ephem
% Finds the sun vector any place in the solar system. Utilizes Planets and SolarSys to look up the planet ephemeris. If the input is a moon, the nearest planetary center is used. -------------------------------------------------------------------------- Form: SunVectorECI( 'initialize', center ) rSunECI = SunVectorECI( 'update', jD, rSc ) -------------------------------------------------------------------------- ------ Inputs ------ action (1,:) 'initialize' or 'update' 'initialize' planetName (1,:) Center of spacecraft coordinates 'update' jD (1,1) Julian date rSC (3,1) Spacecraft ECI position vector (km) ------- Outputs ------- rSunECI (3,1) Sun ECI position vector -------------------------------------------------------------------------- See also: Planets, SolarSys, CEcl2Eq, Moons --------------------------------------------------------------------------
AC: ACData/ACTConstants SC: BasicOrbit/E2Nu SC: BasicOrbit/M2E SC: BasicOrbit/M2EApp SC: BasicOrbit/M2EEl SC: BasicOrbit/M2EHy SC: BasicOrbit/M2Nu SC: BasicOrbit/M2NuPb SC: Ephem/CEcl2Eq SC: Ephem/Moons SC: Ephem/Planets SC: Ephem/SolarSys SC: SCData/sCTConstants Common: CommonData/Constants Common: CommonData/SwooshWatermark Common: CommonData/xSplashSmall Common: Database/Constant Common: General/CellToMat Common: General/DeBlankLT Common: General/DeleteCell Common: General/MatToCell Common: General/Watermark Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/PltStyle Common: Graphics/TextS Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Time/DTSToDTA Common: Time/Date2JD Common: Time/JD2000 Common: Time/JD2T Math: Linear/DupVect
Back to the SC Module page