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. --------------------------------------------------------------------------
Common: Database/Constant Common: Graphics/Axis3D Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS
Back to the AerospaceUtils Module page