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];
Return the 3n+1 sequence for n
6175 Solvers
17148 Solvers
614 Solvers
250 Solvers
218 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!