Path: AerospaceUtils/Coord
% Converts geodetic latitude and longitude to r for an ellipsoidal planet. The default for f is the flattening factor for the earth. The default for type is geodetic. Type LatLonToR for a demo. -------------------------------------------------------------------------- Form: r = LatLonToR( lat, lon, f, a, type ) -------------------------------------------------------------------------- ------ Inputs ------ lat (:) Geodetic latitude (rad) lon (:) Longitude (rad) f (1,1) Flattening factor a (1,1) Equatorial radius type (1,:) 'geodetic' or 'geocentric' ------- Outputs ------- r (3,:) Position vectors -------------------------------------------------------------------------- Reference: Escobal, P. R., "Methods of Orbit Determination," Kreiger, 1965, pp. 24-28. --------------------------------------------------------------------------
AC: ACData/ACTConstants 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/Axis3D Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/PltStyle Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS
Back to the AerospaceUtils Module page