%% Calculate centrifugal effect of Mars gravity
% Calculate the centrifugal effect of Mars gravity at 15000 m over the equator and 11000 m over the North Pole.

p  = [2412.648e3 -2412.648e3 0; 0 0 3376.2e3]
[gx, gy, gz] = gravitycentrifugal(p, 'Mars')

% Copyright 2012 The MathWorks, Inc.