Problem 85. Remove the polynomials that have positive real elements of their roots.
Solution Stats
Problem Comments
-
2 Comments
Cris Luengo
on 14 Jul 2012
The test set should contain a polynomial with complex roots where the real part is positive, and a polynomial with a positive and a negative root.
Hans Kramer
on 31 Oct 2018
Too less test cases
Solution Comments
-
1 Comment
creepydog
on 20 Jun 2022
I would have liked to use "tf" (transfer function) and "isstable", but these commands don't seem to be supported in Cody. :-(
-
1 Comment
Cris Luengo
on 14 Jul 2012
This removes only polinomials if all the roots are positive. Should read 'all' instead of 'any' here.
Problem Recent Solvers1224
Suggested Problems
-
3081 Solvers
-
1349 Solvers
-
Matrix indexing with two vectors of indices
671 Solvers
-
453 Solvers
-
Natural numbers in string form
922 Solvers
More from this Author96
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!