%% Calculate magnetic model
%% Calculate magnetic model
% Calculate the magnetic model 1000 meters over Natick, Massachusetts on July 4, 2005 using IGRF-11.

[XYZ, H, DEC, DIP, F] = igrf11magm(1000, 42.283, -71.35, ...
decyear(2005,7,4))

% Copyright 2015 The MathWorks, Inc.