Oops, this is not a complete answer, despite passing the tests.
3967 Solvers
68 Solvers
Get the elements of diagonal and antidiagonal for any m-by-n matrix
267 Solvers
108 Solvers
Replace Nonzero Numbers with 1
178 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!