Bairstow Method
Version 1.0.3 (1.69 KB) by
Md Asifuzzaman Khan
This function file calculates roots of polynomial using Bairstow method
function [Root]=Bairstow(Coeff,initialGuess,MaxApproxError)
If a polynomial is ax^3+bx^2+cx+d=0 ,then input the coefficients in order in an vector as Coeff= [a b c d]
Input an initial guess i.e: initialGuess=-1
then input the maximum approximation error tolerance i.e: MaxApproxError=1e-9
The function will return the vector of all the roots of the polynomial.
Cite As
Md Asifuzzaman Khan (2026). Bairstow Method (https://www.mathworks.com/matlabcentral/fileexchange/79107-bairstow-method), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2018b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
