Problem 85. Remove the polynomials that have positive real elements of their roots.

The characteristic equation for a dynamic system is a polynomial whose roots indicate its behavior. If any of the roots of the polynomial have a positive real part, the behavior of the system will be divergent. Given a cell array of vectors that represent polynomials, remove the ones that have roots with positive real components.


 polyIn = {[1 1],[1 -1]}
 polyOut = {[1 1]}

since roots([1 -1]) is 1, a positive number.

Solution Stats

55.73% Correct | 44.27% Incorrect
Last Solution submitted on Jul 02, 2020

Problem Comments

Solution Comments

Problem Recent Solvers666

Suggested Problems

More from this Author95

Problem Tags