1)How MATLAB does LU decomposition? Which is MATLAB's buit-in function? How does it handle the pivoting case? Compare your obtained results with that of MATLAB.2)How to carry out LU decomposition for matrix A of increasing size n = 10; 20; 40; 80; 10

1 view (last 30 days)
1)How MATLAB does LU decomposition? Which is MATLAB's buit-in function?
How does it handle the pivoting case? Compare your obtained results with that of
MATLAB.2)How to carry out LU decomposition for matrix A of increasing size n = 10; 20; 40; 80; 160. Plot

Answers (1)

Steven Lord
Steven Lord on 22 Oct 2019
1) Since this sounds like homework, I'm not going to give you the answer. I do suggest that you try searching the documentation for the answer.
2) Again since this sounds like homework, the answer is probably not "Just call the built-in function." I suspect your professor wants you to implement your own LU function. In that case, show us the code you've written to try to solve the problem (your textbook probably has a pseudocode you can use as a model) and ask a specific question about where you're having difficulty and we may be able to provide some guidance.
If you aren't sure where to start because you're not familiar with how to write MATLAB code, I suggest you start with the MATLAB Onramp tutorial (https://www.mathworks.com/support/learn-with-matlab-tutorials.html) to quickly learn the essentials of MATLAB.
If you aren't sure where to start because you're not familiar with the mathematics you'll need to solve the problem, I recommend asking your professor and/or teaching assistant for help.

Categories

Find more on Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!