: retval = almanac ()
: retval = almanac (body)
: retval = almanac (body, param)
: retval = almanac (body, param, unit)

Return basic info about one parameter of a celestial body.

The celestial bodies and parameters that almanac can return are shown when invoking almanac without any parameters.

Input parameters:

  • body - celestial body for which info is requested (case-insensitive).
  • param (optional) - the selected parameter whose value is requested. If ’geoid’ or ’ellipsoid’ is specified a 1x2 vector comprising the semimajor axis and eccentricity of body is returned. If ’Earth’ is selected, a specific geoid name can be specified and the semimajor axis and eccentricity of that geoid are returned.
  • unit (optional) - the unit in which the requested parameter is expressed. Any unit recognized by function ’unitsratio’ is accepted.

almamanc is merely a wrapper around, resp. based on, referenceEllipsoid.

See also: referenceEllipsoid,referenceSphere,unitsratio.

Package: mapping