GENERATE command
Syntax: |
GENERATE x min inc ,, 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