Path: SC/Ephem
% Create a bsp file .bsp is automatically added to filename. It writes 2 intermediate files filename_setup.txt and filename_input.txt. It is limited to state vector inputs. This requires mice. This function will delete an existing bsp file of name 'file name') Type WriteBSPFile for a demo for an Earth orbit. -------------------------------------------------------------------------- Form: WriteBSPFile( varargin ) -------------------------------------------------------------------------- ------ Inputs ------ varargin {:} Parameter pairs 'file name' (1,:) 'spacecraft id' (1,1) 'center id' (1,1) 'info' (1,:) Any text you want 'julian date start' (1,1) 'time' (1,n) Time (s) 'position' (3,n) Position (km) 'velocity' (3,n) Velocity (km/s) 'polynomial degree' (1,1) 'reference frame' (1,:) ------- Outputs ------- None -------------------------------------------------------------------------- Reference: B.V. Semenov, "MKSPK User's Guide", March 01, 2016. --------------------------------------------------------------------------
Orbit: OrbitCoord/SLR Orbit: OrbitMechanics/RVOrbGen SC: BasicOrbit/CP2I SC: BasicOrbit/E2M SC: BasicOrbit/E2Nu SC: BasicOrbit/El2RV SC: BasicOrbit/M2E SC: BasicOrbit/M2EApp SC: BasicOrbit/M2EEl SC: BasicOrbit/M2EHy SC: BasicOrbit/M2Nu SC: BasicOrbit/M2NuPb SC: BasicOrbit/Nu2E SC: BasicOrbit/Nu2M Common: CommonData/SwooshWatermark Common: General/CellToMat Common: General/DeBlankLT Common: General/DispWithTitle Common: General/MatToCell Common: General/Watermark Common: Graphics/Axis3D Common: Graphics/Mesh2 Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/PltStyle Common: Graphics/TimeLabl Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Time/DTAToDTS Common: Time/DTSToDTA Common: Time/Date2JD Common: Time/JD2Date Common: Time/JDToDateString Math: Linear/DupVect Math: MathUtils/R2P5
Back to the SC Module page