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
-
Find the longest sequence of 1's in a binary sequence.
6673 Solvers
-
The Goldbach Conjecture, Part 2
2412 Solvers
-
344 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1253 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
711 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!