Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. Create a function LU_factorization that performs the LU factorization of a matrix A. You may use the previous functions you implemented. The function header
2. Create a function LU_factorization that performs the LU factorization of a matrix A. You may use the previous functions you implemented. The function header should at least contain function [L, U] - LU_factorization (A) Create a function forward substitution that solve the system Ly b, when L is a lower trian gular mtrix. The function header should look somethinglike function y = forward-substitution (L, b) Let us recall that the output has to be a vector. Use those two functions and the function backward_substitution to solve (1). Do you find the same solution? Call, L,U, y, x the results. compare your solution to x0 obtained with the Matlab
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