Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
NMK
NMK le 19 Fév 2017
Modifié(e) : Matt J le 19 Fév 2017
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.

Réponses (1)

Matt J
Matt J le 19 Fév 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 commentaire
Matt J
Matt J le 19 Fév 2017
Modifié(e) : Matt J le 19 Fév 2017
Your code is not fonted with the "{} Code" toolbar button, so it is very hard to read.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Systems of Nonlinear Equations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by