简体   繁体   中英

Solving sparse linear equations in matlab

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.

您可以将反斜杠运算符与稀疏矩阵一起使用:

x = A\b;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM