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

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.

Answers (1)

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 Comment

Your code is not fonted with the "{} Code" toolbar button, so it is very hard to read.

Sign in to comment.

Categories

Asked:

NMK
on 19 Feb 2017

Edited:

on 19 Feb 2017

Community Treasure Hunt

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

Start Hunting!