Since Cody, I dislike for-loops, but your solution is way simpler than my own algorithm. Mission accomplished...
Nevertheless, I would hope for a non-looped piece of code. Let's see in phase 3.
5743 Solvers
1274 Solvers
Remove the polynomials that have positive real elements of their roots.
635 Solvers
409 Solvers
2929 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!