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

采纳的回答

Walter Roberson
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.

更多回答(2 个)

Chris
Chris 2011-6-28
Also, I need to find all of the answers, not just one.
Thanks,
Chris

Hugo Tadashi Kussaba
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.

类别

Help CenterFile Exchange 中查找有关 Polynomials 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by