Path: SCPro/ProEphemeris
% Read in an asteroid database file and return elements Reads the file astorb.dat found at http://naic.edu/~nolan/astorb.html. A short version is included with the toolbox. For the full version you need to download astrob.dat and put it in your MATLAB path. There are four ways of selecting asteroids: 'all' All of the asteroids in the database [1 7 300] Selected lines in the database 'ceres' Name of one asteroid {'ceres' 'egeria'} A cell array of names If no outputs are given, it will display the asteroids and propagate them for one Earth year. It draws the orbits of the Earth and Jupiter for reference. Type ReadAsteroidDatabase for a demo using astorbshort.dat. -------------------------------------------------------------------------- Form: [el, jD, name, id] = ReadAsteroidDatabase( 'all' ) [el, jD, name, id] = ReadAsteroidDatabase( 'ceres' ) [el, jD, name, id] = ReadAsteroidDatabase( [1 7 300] ) [el, jD, name, id] = ReadAsteroidDatabase( {'ceres' 'netis'} ) ReadAsteroidDatabase( 'ceres' ); % make plot -------------------------------------------------------------------------- ------ Inputs ------ a (-) Asteroids to return (see above) file (1,:) Optional file name ------ Output ------ el (:,6) Elements jD (:,1) Julian date of epoch name {:} Names id {:} Id (may not be a number) -------------------------------------------------------------------------- Reference: http://naic.edu/~nolan/astorb.html --------------------------------------------------------------------------
AC: ACData/ACTConstants SC: BasicOrbit/CP2I 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: 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/DispWithTitle Common: General/MatToCell Common: General/StringMatch Common: General/Watermark Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/PltStyle Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Time/DTSToDTA Common: Time/Date2JD Math: Linear/DupVect
Back to the SCPro Module page