Get one element from each row but not the same column
2 views (last 30 days)
I am trying to find the sumation of matrix zero, when I choose one element from each row but different colum,
matrix 3 *3 has 6 posibility. Could you help me how to show all possiblities without repeating.
if sum(x(i,:))==0 && b(temp)==0