![]() |
Solution: Download the file http://siber.cankaya.edu.tr/ozdogan/NumericalComputations/mfiles/chapter2/lufact.m lufact.m. LU-decomposition |
>> [X,Y]=lufact(A,B')The obtained
>> GEPivshow(A,B')
>> [L,U] = luNopiv(A) >> [L,U,pv] = luPiv(A)are the results different? Why?
>> BB=2*B >> [X,Y]=lufact(A,BB') >> GEPivshow(A,BB')
>> A=[? ? ?; ? ? ?; ? ? ?] >> B=[? ? ?]' >> P=[? ? ?] >> [k,X]=jacobi(A,B,P,10^-9,20)