Too big numbers become Inf

10 Ansichten (letzte 30 Tage)
john ulster
john ulster am 2 Mai 2015
Beantwortet: john ulster am 2 Mai 2015
Good afternoon to everyone. I need to find the zeros of a polynomial expression containing a symbolic variable but the coefficients are too big. The grade of the polynomial is 17, and the coefficients hav 520-560 digits. I cannot calculate the zeros ofthus expression. Any idea?
Thanks in advance.

Antworten (3)

John D'Errico
John D'Errico am 2 Mai 2015
You DID say this was a symbolic polynomial. So vpasolve did not work?
You should probably file a bug report then. Or maybe you did not try it. Why not?
The question that begs to be asked is why you are doing something so silly. Computers have become so capable that they let us try to do things that are often wildly insane. And sometimes they even succeed. That just encourages us to try things that are even a step beyond insane.

Image Analyst
Image Analyst am 2 Mai 2015
17? Wow? In your linear algebra class, did they ever go over what happens to the "in between" points of the fit as you increase your polynomial order? In mine they did. I thought it was an effective demonstration because you can see that while your fit goes through, or is reasonably close, to your "training" points, everywhere else (i.e. in between the training points) it goes completely haywire with gigantic oscillations. What is the use case for a 17 degree polynomial? Any real world situation??? You'd be better off using a spline - at least those don't go haywire in between the training points. I have a spline demo, attached in case you're interested.

john ulster
john ulster am 2 Mai 2015
I'm doing a thesis on a 4th generation nuclear reactor. That's why I've found this expression.

Kategorien

Mehr zu Polynomials finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by