%% Return Full Day Names of Multiple Date Numbers
% Return the full name of the day of the week for a vector of serial date numbers.

D = [734999;735015];
DayForm = 'long';
[DayNumber,DayName] = weekday(D,DayForm)

% Copyright 2012 The MathWorks, Inc.