Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lu commands and related commands to solve 31 in matlab USING MATLAB Consult online help for the command lu, and related com- mands. 31. The

Lu commands and related commands to solve 31 in matlab image text in transcribed
USING MATLAB Consult online help for the command lu, and related com- mands. 31. The code [L,U] = lu(A) computes an LU-factorization of A, where L is a product of a lower triangular and permutation matrices. Row reduction in MATLAB uses partial pivoting to minimize round-off error and so we expect that some row exchanges may occur. Consider the matrix A=126 (a) Use hand calculation to reduce A to an upper triangu lar matrix U using partial pivoting, taking note of the interchanges that need to be made during reduction. (b) Find a permutation matrix P that reorders the rows of A so that no interchanges need to be made during reduction. (c) Use hand calculation to find an LU-factorization PA = LU. (d) Show that P-1-PT and check that A = PLU. (e) Find the MATLAB LU-factorization A, and compare your results

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

Step: 3

blur-text-image

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

Advanced Database Systems

Authors: Carlo Zaniolo, Stefano Ceri, Christos Faloutsos, Richard T. Snodgrass, V.S. Subrahmanian, Roberto Zicari

1st Edition

155860443X, 978-1558604438

More Books

Students also viewed these Databases questions