GENERATE command

Syntax: GENERATE x min inc ,, npts
GENERATE x min inc max
GENERATE x min ,, max npts
GENERATE\RANDOM x min max npts
Qualifiers: \RANDOM
Defaults: \-RANDOM

The GENERATE command makes a new vector, x. By default, x will be generated according to the formula:

x[i] = min+(i-1)*inc   for    1 ≤ i ≤ npts

The minimum value must be given. Two other values are also required: the increment and the number of points, or the maximum and the number of points, or the increment and the maximum value.

Increment and number of points
Maximum and number of points
Increment and maximum
Random values