%% Determine the Number of Days in a Given Year
% Find the number of days in a given Year.

Days = yeardays(2000)

%
% Find the number of days in a given Year using the optional argument Basis.

Days = yeardays(2000, 1)

% Copyright 2012 The MathWorks, Inc.