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 all elements less than 0 or greater than 10 and replace them with NaN
15775 Solvers
-
Swap the first and last columns
22507 Solvers
-
Switch matrix to a column vector
372 Solvers
-
Calculate distance travelled when given radius and rotations
240 Solvers
-
700 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!