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
-
Project Euler: Problem 10, Sum of Primes
2084 Solvers
-
242 Solvers
-
Generate a random matrix A of (1,-1)
397 Solvers
-
737 Solvers
-
Back to basics - mean of corner elements of a matrix
454 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!