This problem has been polished along with an enhanced test suite.
594 Solvers
Get the elements of diagonal and antidiagonal for any m-by-n matrix
267 Solvers
5112 Solvers
420 Solvers
400 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!