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.
Create a cell array out of a struct
511 Solvers
Back to basics 8 - Matrix Diagonals
783 Solvers
352 Solvers
Fahrenheit to Celsius converter
358 Solvers
Calculate the derivative of a polynomial
170 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!