Problem 85. Remove the polynomials that have positive real elements of their roots.
Solution Stats
Problem Comments
-
5 Comments
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.
Too less test cases
How does [1 1] represent a polynomial? This problem should read "Remove sets with negative numbers" instead.
@Brandon polynomials in MATLAB are represented by a vector of coefficients; see doc roots.
interesting problem
Solution Comments
Show commentsProblem Recent Solvers1625
Suggested Problems
-
Project Euler: Problem 5, Smallest multiple
1269 Solvers
-
Back to basics 20 - singleton dimensions
266 Solvers
-
Back to basics 21 - Matrix replicating
1472 Solvers
-
Back to basics 23 - Triangular matrix
966 Solvers
-
Create a vector whose elements depend on the previous element
626 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!