How to solve a system of non-linear equations automatically with changing parameter values.

4 Ansichten (letzte 30 Tage)
Hi,
So I have a system of two non-linear equations which has a couple of parameters which take predefined values. I can solve the system of the eqautions using the fsolve command if my predefined parameters take 1x1 value. My question is that in the equations, I have two parameters which are nx1 vector of values. So can someone guide me about how to solve the system of non-linear equations and get a nx1 vector of values for x1 and x2 (these are the two varaibles of the non-linear equations which I am trying to solve.) and lets say that n=100.

Antworten (1)

Matt J
Matt J am 19 Feb. 2017
It's not clear how you're handling the predefined parameters in the 1x1 case, but the techniques mentioned here are independent of the dimensionality of the extra parameters.
  1 Kommentar
Matt J
Matt J am 19 Feb. 2017
Bearbeitet: Matt J am 19 Feb. 2017
Your code is not fonted with the "{} Code" toolbar button, so it is very hard to read.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Systems of Nonlinear Equations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by