Solving Linear Systems with sparse matrix
28 views (last 30 days)
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
0 Comments
Answers (2)
See Also
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!