Gaussian Elimination (LU or not) or Jacobian? How to write mfile???
Show older comments
Hi all,
Does anyone have an mfile that utilizes either gaussian or jacobian or LU factorization to solve multiple variable linear equations?
Thanks in advance :)
Answers (1)
Jan
on 19 Mar 2013
x = A\b; % This is solved implicitely by:
[L,U] = lu(A);
y = L\b;
x = U\y;
If you want something else, please post more details.
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!