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
This removes only polinomials if all the roots are positive. Should read 'all' instead of 'any' here.
How to find the position of an element in a vector without using the find function
2482 Solvers
Create a cell array out of a struct
527 Solvers
random picture with random colours
138 Solvers
388 Solvers
175 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!