07-05-2012 03:27 AM
Hello everyone
if I have 2D array with m row and n column
i need to call to subarray by x row and x column for each 1 iteration
for example, if an array is
1 1 2 2 3 3 4 4 5 5
1 1 2 2 3 3 4 4 5 5
6 6 7 7 8 8 9 9 10 10
6 6 7 7 8 8 9 9 10 10
so the result should be 1 1 , 2 2 , 3 3 ......and so on for each iteration until the loop finish ...if i call sub array by 2x2dimension
1 1 2 2 3 3
How can i do ?? Could you please suggest me.
Thank you very much
07-05-2012 04:07 AM
Use Array Subset. You can shift it over your array via the index inputs and with length=2.
Christian