How to solve a nonlinear system with 6 equations but with only 4 variables?

4 次查看(过去 30 天)
Is there a way to solve a system with more equations than variables on matlab? For example, the function solve need the exact same number for the equations and variables.

回答(1 个)

Star Strider
Star Strider 2022-5-22
Use the mldivide, \ operator to do a least-squares determineation of the system.
See the documentation for details.
.
  4 个评论
Star Strider
Star Strider 2022-5-22
This now appears to me to not be a regression problem but instead and optimisation problem, and one that I do not understand in enough detail to suggest a solution.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Systems of Nonlinear Equations 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by