From: Haris Hameed on

If there is a matrix A
A = (1,1) (1,2) (1,3)
(2,1) (2,2) (2,3)
(3,1) (3,2) (3,3)
How to write matrix X

X = (1,2)
(1,3)
(2,2)
(2,3)
(3,2)
(3,3)

Actually matrix A elements vary, may be (3x3) , (4x3) ------ (16x3)
Number of rows vary , column fix
I want generate matrix X