i have written a code to get LU decomposition,now i need a code to solve LUx=b
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Amjad Green
el 22 de Feb. de 2018
Comentada: John D'Errico
el 24 de Feb. de 2018
L,U is n*n matrix i'm working on Doolittle method of solving Ax=b i need a code to solve for x
Respuesta aceptada
Torsten
el 22 de Feb. de 2018
First solve L*y = b for y, then solve U*x = y for x.
Best wishes
Torsten.
2 comentarios
John D'Errico
el 24 de Feb. de 2018
No. Don't use an inverse!
Did your teacher tell you about back and forward substitution? They should have done so by this point.
Más respuestas (0)
Ver también
Categorías
Más información sobre Mathematics and Optimization en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!