Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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.

Risposte (1)

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

Accedi per commentare.

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by