Function File: wgs84Ellipsoid (unit)

Returns the parameters of the wgs84 ellipsoid. Argument unit is optional and if given, should be one of the units recognized by function validateLengthUnit().

Example:

>> E = wgs84Ellipsoid
E =

 scalar structure containing the fields:

   Code =  7030
   Name = World Geodetic System 1984
   LengthUnit = meter
   SemimajorAxis =  6378137
   SemiminorAxis =    6.3568e+06
   InverseFlattening =  298.26
   Eccentricity =  0.081819
   Flattening =  0.0033528
   ThirdFlattening =  0.0016792
   MeanRadius =    6.3710e+06
   SurfaceArea =    5.1007e+14
   Volume =    1.0832e+21

A unit argument is also accepted:

>> E = wgs84Ellipsoid ("km")
E =

 scalar structure containing the fields:

   Code =  7030
   Name = World Geodetic System 1984
   LengthUnit = km
   SemimajorAxis =  6378.1
   SemiminorAxis =  6356.8
   InverseFlattening =  298.26
   Eccentricity =  0.081819
   Flattening =  0.0033528
   ThirdFlattening =  0.0016792
   MeanRadius =  6371.0
   SurfaceArea =    5.1007e+08
   Volume =    1.0832e+12

See also: referenceEllipsoid, validateLengthUnit.

Package: mapping