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
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1977 Solvers
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
578 Solvers
-
Sum of first n positive integers
620 Solvers
-
368 Solvers
-
443 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!