This problem was fun. I was able to find a better way to solve beat my own solution. Not the best way though. But lot better.
3157 Solvers
276 Solvers
379 Solvers
296 Solvers
674 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!