I have a cell array of size 1 x n, i need to compare two matrices at a time such as 1-2, 1-3, 2-3… how to take two different matrices at a time in a loop?
eg:
If it is a cell array of size 1 x 3, it becomes, 1-2, 1-3, 2-3If it is a cell array of size 1 x 4, it becomes, 1-2, 1-3, 1-4, 2-3, 2-4, 3-4
Best Answer