%% Convert Calendar Durations to Calendar Weeks
% Create an array of calendar durations. Then, convert each value to the equivalent number of whole calendar weeks.

X = caldays(15:17) + hours(1.2345)

%

W = calweeks(X)

% Copyright 2015 The MathWorks, Inc.