code:
B=[1 2; 1 3; 2 5; 2 4; 3 5; 4 6; 4 5]for i=1:7 bbb= 1:6; bb= B(i,1:2)bbb= setdiff(bbb,bb)result= [bb,bbb]end
the above code executes and gives the result ,but i need to store all the result together in one matrix.Could anyone please help me on it.
Best Answer