Answered step by step
Verified Expert Solution
Question
1 Approved Answer
To illustrate the limitations of LU decomposition, consider the following system, which is a discrete Laplace equati with (Dirichlet) boundary conditions Express this as a
To illustrate the limitations of LU decomposition, consider the following system, which is a discrete Laplace equati with (Dirichlet) boundary conditions Express this as a matrix problem Ax = b, where x E RA? is the vector For given N, enter A as a vector into matlab (you might want use loops and/or a function definition) and print it for say N = 4 (16 x 16 matrix). The matrix is clearly sparse, with very at most ive non- ow zero entries per r Now find the LU decomposition of A, and note that it is no longer sparse. That is, each attempt at solving the equation uses very many non-zero entries and arithmetic operations. Carry this out for several different values of N. When N is large, solution of Az b using LU decomposition becomes inefficient, and other methods (iterative methods) will be preferred
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started