I have a matrix B, of size 1455×2. I want a matrix C of size 1455×2 which gives me the matrix B but, if there is a non-negative row, it should be a row of zeros.
Then once I have this C, I want a matrix D which gives me the location of the minimum in each row of C.
Best Answer