Command Reference : Matrix Language Reference
Vector containing equally spaced grid of values.
Syntax: @grid(d1, d2, n)
d1: number
d2: number
n: integer
Return: vector
Returns a vector holding an arithmetic sequence of n elements. The initial element has value d1, the last element is d2, and there are equal increments between rows of the vector.
vector v1 = @grid(0, 3, 10)
creates a V1 a 10 element vector with first element 0, last element 3, and equal increments between successive rows of the vector.
vector cdf1 = @cnorm(@grid(-2.0, 2.0, 401))
creates a 401 element vector of values of the normal CDF evaluated at points from -2.0 to 2.0.
See also @seq and @seqm.