I got tired of solving these problems. So, I just wrote a solution that works for everything.
6102 Solvers
3149 Solvers
624 Solvers
724 Solvers
391 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!