Input array, specified as a scalar, vector, matrix, or multidimensional
array. Inputs A and B must be
the same size unless one is a scalar. A scalar value expands to be
the same size as the other array.

If one input is a datetime array, duration array, or calendar
duration array, then numeric values in the other input are treated
as a number of 24-hour days.

If one input is a datetime array, then the other input also
can be a date string or a cell array containing date strings.

Input array, specified as a scalar, vector, matrix, or multidimensional
array. Inputs A and B must be
the same size unless one is a scalar. A scalar value expands to be
the same size as the other array.

If one input is a datetime array, duration array, or calendar
duration array, then numeric values in the other input are treated
as a number of 24-hour days.

If one input is a datetime array, then the other input also
can be a date string or a cell array containing date strings.