Using Optimization to Extract Roots of Real Coefficient Polynomials
|
07-11-2018, 01:44 PM
(This post was last modified: 07-11-2018 02:28 PM by Namir.)
Post: #6
|
|||
|
|||
RE: Using Optimization to Extract Roots of Real Coefficient Polynomials
I stumbled on the the Durand-Kerner method which locates the roots of a polynomial simultaneously using an iteration scheme that resembles the Gauss-Seidel method for solving systems of linear equations.
The Durand-Kerner method employs complex mathematics throughout it's calculations. The initial guess, all complex numbers, are rather arbitrary. The seem to work for most cases. Here is a Matlab implementation. Code: function xroots = durand_kerner(polyCoeffs,toler) Here is a simple example: Code: >> C1=[1 -3 3 -5]; |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)