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

3 views (last 30 days)
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.

Answers (1)

Star Strider
Star Strider on 22 May 2022
Use the mldivide, \ operator to do a least-squares determineation of the system.
See the documentation for details.
.
  4 Comments
Star Strider
Star Strider on 22 May 2022
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.

Sign in to comment.

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!