Duration in hours
H = hours( returns
an array of hours equivalent to the values in X)X.
If X is a numeric array, then H is
a duration array in units of hours.
If X is a duration array,
then H is a double array with
each element equal to the number of hours in the corresponding element
of X.
The hours function converts between duration and double values.
To display a duration in units of hours, set its Format property
to 'h'.