testing and solving polynomials
Version 1.0.1 (41.8 KB) by
Alain Barraud
This submission contains a testing tool to check polynomial solver accuracy and a pure Matlab code of the well known Jenkins and Traub algo
This submission contains two main codes : TestPolynomialRootsSoftware and JTPolyroots.
The first one offers the possibility to check the accuracy of any solver whos syntax is similar to the Matlab command "roots". A dozen of more or less difficult polynomial are available some of them using free parameters.
The second is a Matlab implementation of rpoly and cpoly. JTPolyroots can be considered as a companion of the submission Ivo Houtzager (2023). Polynomial roots with Jenkins-Traub algorithm. When computation are double precision its dll is called by default. If not yet installed JTPolyroots do the job. Our Matlab version of rpoly/cpoly support single precision, double precision, quadruple and general multiprecision by overloading. In the last two options a multiprecision toolbox is required as "mp" (MPFR or compatible). See file exchange or commercial advanpix toolbox).
Cite As
Alain Barraud (2026). testing and solving polynomials (https://nl.mathworks.com/matlabcentral/fileexchange/130819-testing-and-solving-polynomials), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2023a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: Multiple Precision Toolbox for MATLAB, Polynomial roots with Jenkins-Traub algorithm
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
