AndrewMozley
Programmer
I have a 2-dimensional of 3 columns by 4 rows. So :
ArrayA = {{x11,x12,x13},{x21,x22,x23},{x31,x32,x33},{x41,x42,x43}}
That is : ArrayA[1,3] = x13, ArrayA[3,2] = x32 . . . .&c
I want to copy one row (for example the 2nd row) of this array to a one dimensional array, ArrayB, so that ArrayB[1] = x21, ArrayB[2] = x22, ArrayB[3] = x23. How do I do this please?
Thanks. Andrew
ArrayA = {{x11,x12,x13},{x21,x22,x23},{x31,x32,x33},{x41,x42,x43}}
That is : ArrayA[1,3] = x13, ArrayA[3,2] = x32 . . . .&c
I want to copy one row (for example the 2nd row) of this array to a one dimensional array, ArrayB, so that ArrayB[1] = x21, ArrayB[2] = x22, ArrayB[3] = x23. How do I do this please?
Thanks. Andrew