matplace |

Syntax: matplace(m1, m2, n1, n2)

Argument 1: matrix, m1

Argument 2: matrix, m2

Argument 3: integer, n1

Argument 4: integer, n2

Places the matrix object m2 into m1 at row n1 and column n2. The sizes of the two matrices do not matter, as long as m1 is large enough to contain all of m2 with the upper left cell of m2 placed at row n1 and column n2.

Example:

matrix(100,5) m1

matrix(100,2) m2

matplace(m1,m2,1,1)