Professional Documents
Culture Documents
PROGRAMMING
L. Kanock
Graduate Civil Engineer
+265 295 519
lkanock@gmail.com
Solving Linear Systems
• Linear systems are linear equations
with a number of unknowns
Ax = b
Solving Linear Systems
• Example: • Present it in Matrix Form:
3 2 −1 𝑥 1
3x + 2y – z = 1
2 −2 4 𝑦 = −2
2x – 2y + 4z = -2 1
−1 2 −1 𝑧 0
-x + ½ y – z = 0
Solving Linear Systems
• To solve the linear system in MATLAB syntax
MATLAB