This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
I really liked this problem and although I provided a lot of code to solve it I am pleased with the thought process that took me to it.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!