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 Solvers1068
Suggested Problems
-
7794 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1225 Solvers
-
Matrix indexing with two vectors of indices
594 Solvers
-
Determine Whether an array is empty
703 Solvers
-
480 Solvers
More from this Author95
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!