Code covered by the BSD License  

Highlights from
Geodesics on an ellipsoid of revolution

image thumbnail

Geodesics on an ellipsoid of revolution

by

 

20 Nov 2012 (Updated )

Solutions of the direct and inverse geodesic problems

ecc2flat(e)
function f = ecc2flat(e)
%ECC2FLAT   Convert the eccentricity of an ellipsoid to its flattening
%
%  F = ECC2FLAT(E) returns the flattening given the eccentricity.
%
%   See also FLAT2ECC.

  e2 = e.^2;
  f = e2 ./ (1 + sqrt(1 - e2));
end

Contact us