%% Create Array of Calendar Weeks

X = magic(4);
W = calweeks(X)

% Copyright 2015 The MathWorks, Inc.