If you have a matrix that is a combination of a diagonal, upper, and lower matrix - what is the best way to solve it? (I use matlab for matrix work)(adsbygoogle = window.adsbygoogle || []).push({});

Example:

5 1 0 0 x1 1

-1 5 1 0 x2 2

0 -1 5 1 x3 3

0 0 -1 5 x4 4

Is it possible to solve the upper triangle and lower triangle and then combine them?

Would it be possible to solve it quicker if the all three diagonals were the same (as above)?

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Combine upper, lower, and diagonal matrix?

**Physics Forums | Science Articles, Homework Help, Discussion**