this not a good solution but good enough for the test cases
844 Solvers
209 Solvers
Sum the numbers on the main diagonal
459 Solvers
220 Solvers
451 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!