Matlab code for solving the following system equation

7 ビュー (過去 30 日間)
Abi Ak
Abi Ak 2020 年 9 月 18 日
コメント済み: Walter Roberson 2024 年 6 月 13 日
2x + y + 5z = 5; 2x + 2y +3z = 7 ; x + 3y + 3z = 6
  3 件のコメント
Muhammad Chandra
Muhammad Chandra 2024 年 6 月 13 日
y=〖2x〗^2+2x-20
Walter Roberson
Walter Roberson 2024 年 6 月 13 日
I do not understand that remark?

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

回答 (2 件)

Stephan
Stephan 2020 年 9 月 18 日
>> A = [2 1 5; 2 2 3; 1 3 3]
A =
2 1 5
2 2 3
1 3 3
>> b = [5; 7; 6]
b =
5
7
6
>> sol = A\b
sol =
2.4545
1.4545
-0.2727
>> test = A*sol
test =
5
7
6

Ronish
Ronish 2024 年 5 月 14 日
Solve x=4=6
  1 件のコメント
Walter Roberson
Walter Roberson 2024 年 5 月 14 日
It seems doubtful that this is the solution -- it does not solve for y or z !

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by