Combine upper, lower, and diagonal matrix?

  • Thread starter sarahfh
  • Start date
  • #1
1
0

Main Question or Discussion Point

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)

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)?
 

Answers and Replies

  • #2
I can't understand the example you have written. What does an "x" denote?

What do you mean by "solve" a matrix? Please clarify your example and I think someone will be able to help you.
 

Related Threads on Combine upper, lower, and diagonal matrix?

Replies
1
Views
13K
Replies
4
Views
751
  • Last Post
Replies
2
Views
3K
Replies
2
Views
564
Replies
2
Views
3K
Replies
1
Views
5K
Replies
1
Views
768
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
3
Views
3K
Top