Matlab code for solving the following system equation

12 Ansichten (letzte 30 Tage)
Abi Ak
Abi Ak am 18 Sep. 2020
Kommentiert: Walter Roberson am 13 Jun. 2024
2x + y + 5z = 5; 2x + 2y +3z = 7 ; x + 3y + 3z = 6
  3 Kommentare
Walter Roberson
Walter Roberson am 13 Jun. 2024
I do not understand that remark?

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Stephan
Stephan am 18 Sep. 2020
>> 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 am 14 Mai 2024
Solve x=4=6
  1 Kommentar
Walter Roberson
Walter Roberson am 14 Mai 2024
It seems doubtful that this is the solution -- it does not solve for y or z !

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by