Write matlab function A=LU factorization.
Not what you're looking for?
Write the following MATLAB functions
(a) function l,u¸=naivege(a) that returns the lower triangular matrix L and an upper triangular matrix U such that A=LU, obtained by Gauss Elimination without pivoting.
(b) function x=utrisol(u,b) that solves the upper tridiagnonal system Ux=b using backward substitution.
(c) Function x=ltrisol(l,b) that solves the lower tridiagnonal system Lx=b using forward substituion. Solve above system of equations and check the answer.
Purchase this Solution
Solution Summary
The expert writes a matlab function A=LU factorization.
Purchase this Solution
Free BrainMass Quizzes
Know Your Linear Equations
Each question is a choice-summary multiple choice question that will present you with a linear equation and then make 4 statements about that equation. You must determine which of the 4 statements are true (if any) in regards to the equation.
Multiplying Complex Numbers
This is a short quiz to check your understanding of multiplication of complex numbers in rectangular form.
Geometry - Real Life Application Problems
Understanding of how geometry applies to in real-world contexts
Graphs and Functions
This quiz helps you easily identify a function and test your understanding of ranges, domains , function inverses and transformations.
Exponential Expressions
In this quiz, you will have a chance to practice basic terminology of exponential expressions and how to evaluate them.