Problem solving a set of equations with multiple variables.

2 ビュー (過去 30 日間)
Steven Taggart
Steven Taggart 2016 年 10 月 4 日
編集済み: Steven Taggart 2016 年 10 月 4 日
I have a set of equations with multiple variables and was wondering how best to solve them in Matlab, I have tried a few different functions but the results are well off. I wonder if someone could point me in the right direction to solving this issue.
The equations are as follows.
A=0;
0.26161B = 0.14251A + 0.11909C -0.06830;
0.17769C = 0.11909B + 0.05859D +0.18279;
0.08109D = 0.05859C + 0.02249E +0.25882;
E=0;
Many thanks.

採用された回答

Joe Yeh
Joe Yeh 2016 年 10 月 4 日
Writing an equation solver on your own would be a tremendous undertaking. There are two easier ways:
1. Use Symbolic Math Toolbox : see here Solve Algebraic Equation
2. Do it yourself, the old-fashion way. But then MATLAB will be merely a calculator for you...
  1 件のコメント
Steven Taggart
Steven Taggart 2016 年 10 月 4 日
編集済み: Steven Taggart 2016 年 10 月 4 日
Joe,
Managed to complete it with using the symbolic function.
Many thanks!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeNumeric Solvers についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by