Solving a system of Equation with 2 variable Parameters and 2 goal Equations

9 ビュー (過去 30 日間)
Felix
Felix 2023 年 1 月 10 日
回答済み: Animesh 2023 年 3 月 8 日
I am working on a project that requires solving a set of Equations. It includes a bunch of set Parameters as well as 2 Parameters (a and a´) that should be varied so two Equations (F1-F2=0 and P1-P2=0) are achieved. Inbetween are equations connecting the parameters with F1,F2,P1,P2.
I have looked at different Functions like solve and fsolve and also considered using a for loop to solve it but havent found an elegant solution yet and now Im asking you all for advise.
  1 件のコメント
Torsten
Torsten 2023 年 1 月 10 日
The two functions you mention (solve, fsolve) are the correct solvers for your problem.
To give further advise, you would need to post your equations.

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

回答 (1 件)

Animesh
Animesh 2023 年 3 月 8 日
Hello,
To solve a system of equations with two variable parameters and two goal equations in MATLAB, you can use the fsolve function.
You can read more about fsolve here - https://www.mathworks.com/help/optim/ug/fsolve.html

カテゴリ

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

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by