It seems to me that the result for [m,n]=[4,4] is incorrect.
Yes it is, William. It should be the 2x2 case (instead of 4x4), which should be all zeros.
The test suite has been updated.
1253 Solvers
Replace NaNs with the number that appears to its left in the row.
2056 Solvers
165 Solvers
Replace multiples of 5 with NaN
363 Solvers
76 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!