Solving Linear Systems with sparse matrix
Show older comments
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
Answers (2)
nello
on 5 Sep 2013
0 votes
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!