Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Consider the matrix 1=(18-20 ) 1 In this problem we will investigate the LU decomposition of A with and without pivoting (i.e., with and without

image text in transcribed

Consider the matrix 1=(18-20 ) 1 In this problem we will investigate the LU decomposition of A with and without pivoting (i.e., with and without reordering the rows). First, find the condition number of A using cond and save your answer in a variable named ans 1. You should find that the condition number is not particularly large, which suggests that any reasonable linear system solver should work well with this matrix. It is easy to check by hand that the LU decomposition of A (without reordering the rows) is (1 and U = L = 6020 and U = 10-20 1 0 1 - 1020) Multiply LU by hand and confirm that LU = A. Now use Matlab to multiply LU and save your answer in a variable named ans2. Is this close to A? If we switch the rows of A, we get a new matrix B= 10-20 1 It is easy to check by hand that the LU decomposition of B (without reordering the rows) is 11 0 L= 1 10-20 and U = 01 - 10-20 Multiply LU by hand and confirm that LU = B. Now use Matlab to multiply LU and save your answer in a variable named ans 3. Is this close to B? (Note: This problem is supposed to be very easy. You should just type the matrices L and U directly for each problem. You should not use the lu command for either part. It is, however, worth checking what happens if you use the lu command. What does lu(A) give you? What about lu(B)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 Proceedings Part 1 Lncs 13426

Authors: Christine Strauss ,Alfredo Cuzzocrea ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

3031124227, 978-3031124228

More Books

Students explore these related Databases questions