Pedagogic solution is available in position 2 (commented, same as solution 1 but more explicit thus suboptimal).
72 Solvers
Back to basics 9 - Indexed References
397 Solvers
522 Solvers
37 Solvers
5919 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!