See Problem 42411 by Grant III
@Jean-Marie Sainthillier: You are right, sorry for not have checked before.
And thank you for the info, the problem-series by Grant III is very useful.
586 Solvers
Sum of diagonal of a square matrix
1331 Solvers
149 Solvers
326 Solvers
208 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!