RANGE Function

RANGE (matrix1 <, matrix2, …, matrix15> ) ;

The RANGE function returns the range of values of a numerical matrix or set of matrices.

Missing values are excluded in the computation. When the arguments contain at least one nonmissing value, the range is defined as the maximum value minus the minimum value. If all arguments are missing, the RANGE function returns a missing value.

The following example uses the RANGE function:

c = {1 -123 13 56 128 -81 12};
r = range(c);
print r;

Figure 23.266: Range of Values

r
251