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
-
Find the sum of all the numbers of the input vector
47000 Solvers
-
Find the longest sequence of 1's in a binary sequence.
5936 Solvers
-
6142 Solvers
-
Find nearest prime number less than input number
696 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
368 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!