Hi,
My problem:
I have a 2D array of dimension 3x3. I want to insert this array into a bigger array of dimension 5x5 (having all elements zero, say) at alternate positions.
More clearly,
My 3x3 array is suppose: [1 2 3
4 5 6
7 8 9]
My final array (5x5 array) should look: [1 0 2 0 3
0 0 0 0 0
4 0 5 0 6
0 0 0 0 0
7 0 8 0 9]
I will be very grateful, if somebody helps me in this regard.
Thanking You!