I have a 11x11 matrix and a 23x23 one. The 23x23 is a null matrix and I need to insert the 11x11 matrix in the null matrix for a specific position of the element 6,6 in the first matrix like this:
aaaaaaaaaaa000000000000
aaaaaaaaaaa000000000000
aaaaaaaaaaa000000000000
aaaaaaaaaaa000000000000
aaaaaaaaaaa000000000000
aaaaaaaaaaa000000000000
aaaaaaaaaaa000000000000
aaaaaaaaaaa000000000000
aaaaaaaaaaa000000000000
aaaaaaaaaaa000000000000
aaaaaaaaaaa000000000000
00000000000000000000000
00000000000000000000000
00000000000000000000000
00000000000000000000000
00000000000000000000000
00000000000000000000000
00000000000000000000000
00000000000000000000000
00000000000000000000000
00000000000000000000000
00000000000000000000000
00000000000000000000000
So element 6,6 at the first matrix is inserted at the position 6,6 at the second matrix. The elements of the first matrix are not all the same, it is a generic set of data. I need to be able to put the element 6,6 in any position of the second matrix, assuming that it won't overflow the limit of 23x23. How can I do that?