solve system of equations without using matrices.

4 ビュー (過去 30 日間)
Luca
Luca 2018 年 1 月 11 日
コメント済み: Luca 2020 年 4 月 12 日
Hi, Is it possible to solve a system of equations without using matrices? That is, Can I write a series of unordered linear equations and find the solution?
  5 件のコメント
Tommy
Tommy 2020 年 4 月 11 日
What if you declare a, b, and c as symbolic also?
syms x y z a b c
eqn1 = 2*x^2 + y + z == 2*a;
eqn2 = -x + y - z +b == 3;
eqn3 = 2*y +c + 3*z == -10;
sol = solve([eqn1, eqn2, eqn3], [x, y, z]);
Luca
Luca 2020 年 4 月 12 日
Yep

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by