I have a sparse matrix A of very high dimension around 30000x30000
. And my equation is something like this:
Ax=b.
I cannot take the inverse of A.
So how can I solve the value of x
in matlab.
You can use the backslash operator with sparse matrices:
x = A\b;