Bairstow's Method of finding all roots of a Polynomial. Details on wikipedia http://en.wikipedia.org/wiki/Bairstow's_method
Bilal Siddiqui (2021). Bairstow's Method of finding all roots of a Polynomial (https://www.mathworks.com/matlabcentral/fileexchange/50223-bairstow-s-method-of-finding-all-roots-of-a-polynomial), MATLAB Central File Exchange. Retrieved .
is not working correctly
This code does not work correctly, due to the author not being consistent about the ordering of polynomial coefficients. As his example shows, it does get the right answer when the coefficient sequence is a palindrome (that is, equal to its reverse); but not otherwise.
Inspired by: Mullers method for polynmial root finding.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!