In this tutorial, we will learn about the Octave range command. The range is an in-built function. The function returns the range of the input data. The range is defined as the difference between the maximum and the minimum of the input data.
The syntax of the range function is as follows:
The argument X can be a vector or matrix.
>> X = [ 2 19 7 12 17]
2 19 7 12 17
ans = 17
Octave Tutorial on this website can be found at:
More information on Octave can be found on the official website: