What is the best way to numerically solve a system of polynomial multivariate equations?
18 ビュー (過去 30 日間)
古いコメントを表示
I have a system of polynomial equations that I need to solve a whole bunch of times. What do you think is the most efficient way to solve them using some numerical solver in matlab? I have the optimization toolbox, etc.
Thanks,
Chris
0 件のコメント
採用された回答
Walter Roberson
2011 年 6 月 28 日
If they really are multivariate polynomials (e.g., no sin() or gamma() or integrals, no sqrt() or x^n when n is not 0 or a positive integer), then the \ operator might be appropriate, especially if it is only the right-hand sides that are varying (in which case they can all be done at the same time.)
If the coefficients are changing each time, I would consider using symbolic algebra to solve() for the variables, and then turn the resulting formula into MATLAB code (matlabFunction() might help.) Any RootOf() symbolic polynomials can be converted in to roots() calls.
0 件のコメント
その他の回答 (2 件)
Hugo Tadashi Kussaba
2023 年 8 月 10 日
State-of-art homotopy continuation methods can be used to compute (almost) all solutions of system of polynomial equations.¹ A MATLAB package for computing real verified solutions of polynomial systems of equations and inequalities is available at: http://159.226.47.210:8080/verifyrealroots/index.html
[1] Yang, Zhengfeng, Hanrui Zhao, and Lihong Zhi. "VerifyRealRoots: A Matlab Package for Computing Verified Real Solutions of Polynomials Systems of Equations and Inequalities." Journal of Systems Science and Complexity 36.2 (2023): 866-883.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Polynomials についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!