@unvec |

Syntax: @unvec(v, n)

Argument 1: vector, v

Argument 2: integer, n

Return: matrix

Creates an n-row matrix filled with the unstacked elements of the vector v. EViews will report a size mismatch if the number of elements of v is not evenly divisible by n.

Note that @unvec is the inverse of the @vec function.

Example:

vector v = @mrnd(12)

matrix m1 = @unvec(v1, 3)

creates a 12 element vector of uniform random numbers V1 and unstacks it into a matrix M1.

See also @vec.