Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3 . Let p = [ ( 2 & - 2 & 6 @ 1 & 3 & 1 @ 4 & 0 & 2
Let p&&@&&@&&
Find an LU decomposition of P ie find lower and upper triangular matrices L and U such that LU P Find this solution by hand in this part!
Recompute the LU decomposition of P using appropriate commands in Matlab. Include your code and the results in your answer. Are both the lower L and upper U triangular factorisations returned by Matlab triangular as expected? Comment on what you find!
Discuss the cost of computation of an LU decomposition and its subsequent use in solving a system of linear equations Ax b A and b known, solve for x Computing the LU decomposition is typically quite a bit of work, under what conditions might we expect it to be faster less computationally costly than an alternative solution such as A AxIxA b
Write a Matlab routine to compute and plot the difference in time it takes to solve a system of linear equations where the transformation and result matrices are large, ie of dimension in dimension. Submit your code, plots and comment on any issues you encountered doing this were there any problems memory usage for instance how did you solve these?
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