Hi. How about: i j Y 1 1 45 1 2 35 2 1 28 2 2 32 3 1 52 3 2 67 change to this matrix: 45 28 52 35 32 67