フィルターのクリア

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

1 回表示 (過去 30 日間)
NMK
NMK 2017 年 2 月 19 日
編集済み: Matt J 2017 年 2 月 19 日
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.

回答 (1 件)

Matt J
Matt J 2017 年 2 月 19 日
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 件のコメント
Matt J
Matt J 2017 年 2 月 19 日
編集済み: Matt J 2017 年 2 月 19 日
Your code is not fonted with the "{} Code" toolbar button, so it is very hard to read.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSystems of Nonlinear Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by