%% Create Array of Calendar Quarters

X = magic(4);
Q = calquarters(X)

% Copyright 2015 The MathWorks, Inc.