Just fixed the code from another player, which had an interesting solution.
solution which does not use any nested function ;)
657 Solvers
1800 Solvers
386 Solvers
133 Solvers
480 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!