%% Calculate 1984 World Geodetic System (WGS84) with Taylor Series approximation
% This example shows how to calculate Calculate the normal gravity at 5000 meters and 55 degrees latitude using the Taylor Series approximation method with errors for out-of-range inputs.

g = gravitywgs84( 5000, 55, 'TaylorSeries', 'Error')

% Copyright 2012 The MathWorks, Inc.