Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Matlab Can anyone help with matlab questions? For these questions, print off and

ID: 3865380 • Letter: M

Question

Matlab

Can anyone help with matlab questions? For these questions, print off and hand in the commands that you type and the output that MATLAB produces (this can all be done in the command window). Before the first question, enter the command clock (to help personalise your work). (a) Enter the matrix A = [1 8 - 4 0 7 - 4 - 6 8 5], and let U = A. (b) Now edit the rows of U, in the manner of Gaussian elimination with partial pivoting (as if by hand), to reduce the matrix to an upper triangular matrix, U. (c) Construct and display the permutation matrix P, and the lower triangular matrix L. (d) Verify the equation PA = LU by using the MATLAB command lu.

Explanation / Answer

Answer for the given Queston:

See the below matlab code for given problem statement to solve the given sqaure matrix in the manner gaussian elimination with partial pivoting,