Tip: This kind of problem that seems incredibly hard usually have a formula (someone already researched this). Find the formula, and solve the problem.
588 Solvers
30 Solvers
Vectorizing, too easy or too hard?
129 Solvers
642 Solvers
539 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!