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.
引用格式
Kwin (2025). Smallest positive real root of a quartic equation (https://ww2.mathworks.cn/matlabcentral/fileexchange/59484-smallest-positive-real-root-of-a-quartic-equation), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2016a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |