I have:
A1=[3 4] A2=[3 1 4]A3=[3 2 1 4]
want to convert as:
(3,4)(3,1)(1,4)(3,2)(2,1)(1,4)
Now I want to check, is any pair common in all rows (except first rows)
For example: combination (1,4) is common in 2 and 3 row. In the result, I want this pair. Please help me to complete this program.
Best Answer