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.
1429 Solvers
Permute diagonal and antidiagonal
225 Solvers
423 Solvers
Switch matrix to a column vector
265 Solvers
418 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!