Gaussian Elimination (LU or not) or Jacobian? How to write mfile???

3 visualizaciones (últimos 30 días)
Richard
Richard el 18 de Mzo. de 2013
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 :)

Respuestas (1)

Jan
Jan el 19 de Mzo. de 2013
Yes. It is builtin in Matlab. According to the documentation of lu:
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.

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by