%% Create Duration Array of Hours

X = magic(4);
H = hours(X)

% Copyright 2015 The MathWorks, Inc.