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