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.
9830 Solvers
405 Solvers
253 Solvers
61 Solvers
520 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!