Your solution is fastest so far.
Good job, Athi.
@Athi, your solution contains many "magic" constant variables that I don't know how you got.
William's solution is much easier to understood, although it is slower than yours.
Thanks li haitao.
1940 Solvers
2275 Solvers
Back to basics 23 - Triangular matrix
648 Solvers
326 Solvers
1163 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!