could you perhaps add a test where the minimum is not in the first column and it is not at the same place in all of the rows? For example: A = [4,5,3,2; 2,1,3,4]; B_correct = [4,5,3,3.5; 2,2.5,3,4];
17486 Solvers
620 Solvers
413 Solvers
384 Solvers
125 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!