This function converts cartesian tridimensional geocentric coordinates into geodetic coordinates.
X contains the X geocentric coordinate, in meters. Y contains the Y geocentric coordinate, in meters. Z contains the Z geocentric coordinate, in meters. a is a scalar containing the semi-major axis of the ellipsoid, in meters. f is a scalar containing the flattening of the ellipsoid.
X, Y or Z can be scalars, vectors or 2D matrices.
lon is the geodetic longitude, in radians. lat is the geodetic latitude, in radians. h is the ellipsoidal height, in meters.
See also: op_geod2geoc.
Package: octproj