Gaussian Elimination (LU or not) or Jacobian? How to write mfile???
4 次查看(过去 30 天)
显示 更早的评论
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 :)
0 个评论
回答(1 个)
Jan
2013-3-19
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!