colplace |

Syntax: colplace(m, v, n)

Argument 1: matrix, m

Argument 2: vector, v

Argument 3: integer, n

Places the column vector v into the matrix m at column n. The number of rows of m and v must match, and the destination column must already exist within m. Example:

colplace(m1,v1,3)

The third column of M1 will be set equal to the vector V1.

See also rowplace.