What is the best method to solve large linear system equation (Ax=b) (A:million~ by million~)

12 visualizaciones (últimos 30 días)
The maxtix A is sparse from finite element analysis.
I have used backslash to solve the equation but I want to reduce the calculation time.
I also tried to use GPU acceleration but there is a memory limitation with Titan xp with 12Gb memory.

Respuesta aceptada

Christine Tobler
Christine Tobler el 5 de Dic. de 2018
  3 comentarios
Bruno Luong
Bruno Luong el 6 de Dic. de 2018
Why? MATLAB has also a bunch of iterative solvers to chose from: cgs, bicg, gmres, etc...
Christine Tobler
Christine Tobler el 6 de Dic. de 2018
MATLAB chooses an appropriate direct solver in backslash. Using iterative solvers requires more trial and error, and more knowledge of the original system (as preconditioners are often necessary). For a large, well-conditioned matrix, there can be a significant speed-up compared to backslash, if a suitable iterative solver is used.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Operating on Diagonal Matrices en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by