Smallest positive real root of a quartic equation

Version 1.0.0.0 (1.31 KB) by Kwin
Returns the smallest positive real root of a fourth order polynomial (quartic)
58 Downloads
Updated 5 Oct 2016

View License

This function returns the smallest positive real root of a fourth order polynomial (quartic) using Descartes' solution. For solving the the resolvent cubic I used a method from "Numerical Recipes in C: The art of scientific computing", page 184-185.
After some testing it on my own computer is seems that this function is between 5.5 to 6 times faster than using the MATLAB function roots, which also returns its complex roots.

Cite As

Kwin (2024). Smallest positive real root of a quartic equation (https://www.mathworks.com/matlabcentral/fileexchange/59484-smallest-positive-real-root-of-a-quartic-equation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Graphics Object Programming in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0