-
1 Comment
Christian Schröder
on 5 Nov 2024
This isn't REALLY correct, of course, since it'll miss diagonals consisting entirely of zeros.
Suggested Problems
-
Sum along each diagonal of a matrix
14 Solvers
More from this Author4
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!