%% Create Array of Calendar Years

X = magic(4);
Y = calyears(X)

% Copyright 2015 The MathWorks, Inc.