%% Create Duration Array of Seconds

X =  magic(4);
S = seconds(X)

% Copyright 2015 The MathWorks, Inc.