Solving Linear Systems with sparse matrix

Hi everybody,
I have to solve a linear system of equations (Ax=B). I know that A is a sparse matrix. I am using the following command to get the solution:
x=A\B;
This command find the value of x correctly, but works on the whole A matrix to perform the calculation. Since A is a sparse matrix I would like to use a command that take into accont this property of A, to speed up the calculation.
is there a command that do this?
Regards Nello

Categorías

Más información sobre Linear Algebra en Centro de ayuda y File Exchange.

Preguntada:

el 5 de Sept. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by