This problem was fun. I was able to find a better way to solve beat my own solution. Not the best way though. But lot better.
28589 Solvers
758 Solvers
394 Solvers
Sum the elements in either diagonal of a square matrix
181 Solvers
253 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!