%% Calculate decimal2
%% Calculate decimal2
% Calculate decimal year for December 19, 2006.

dy = decyear(2006,12,19)

% Copyright 2015 The MathWorks, Inc.