Why do I recieve an "error using ==>eig NaN or Inf prevents convergence" error when using the ROOTS function?
Show older comments
I am using the ROOTS function to find the roots of a 6th degree polynomial. When ROOTS is called, I receive the following error message:
??? Error using ==> eig
NaN or Inf prevents convergence.
Error in ==> roots at 42
r = [r;eig(a)];
Accepted Answer
More Answers (0)
Categories
Find more on Polynomials in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!