A=[1 2 3 4 5 6; 0 0 1 1 0 1; 0 0 1 0 1 0]
Sum of second and third row if equal to zero, then in new matrix that column is to be excluded. So, the result shall be
A=[3 4 5 6; 1 1 0 1; 1 0 1 0]
sum
A=[1 2 3 4 5 6; 0 0 1 1 0 1; 0 0 1 0 1 0]
A=[3 4 5 6; 1 1 0 1; 1 0 1 0]
Best Answer