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];
5833 Solvers
1836 Solvers
559 Solvers
Sum the 'edge' values of a matrix
232 Solvers
185 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!