SHAZAM Community
Ask Your Question

Revision history [back]

You are on the right track using the COPY command. You just need to specify the starting and ending rows. Here is an example:

* Create random matrix
matrix A = uni(10,2)
print A

* Copy the last 5 rows of A into the 1st 5 rows of B
dim B 5 2
copy A B / frow=6;10 trow=1;5
print B

Hope this helps.