Smallest positive real root of a quartic equation
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.
Cita come
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. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |