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.
6104 Solvers
Who knows the last digit of pi?
560 Solvers
Determine Whether an array is empty
649 Solvers
Rotate input square matrix 90 degrees CCW without rot90
385 Solvers
Find last zero for each column
248 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!