Problem 979. Linear system solve
Solve a linear set of equations as described in the following link: http://www.people.virginia.edu/~teh1m/cody/linsolv1.pdf
Solution Stats
Problem Comments
-
2 Comments
Abdelhak ARESMOUK
on 21 Nov 2012
function [ x ] = my_lin_solv( A, b )
[L,U]=lu(A);
d=inv(L)*b;
x=inv(U)*d;
end
Alex
on 10 Oct 2020
The link to the PDF is broken.. :-(
Solution Comments
Show commentsProblem Recent Solvers77
Suggested Problems
-
The Goldbach Conjecture, Part 2
2367 Solvers
-
Find the sum of the elements in the "second" diagonal
1159 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
613 Solvers
-
Put Two 1D matrices into one 1D matrix
136 Solvers
-
1820 Solvers
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!