Speed up matrix operation

1 次查看(过去 30 天)
Marc Gebhardt
Marc Gebhardt 2018-11-5
Hi guys,
i am calculating one resulting matrix by multiplying three matrices in the form
result=M1*M2/M3
All matrices are sparse. The dimensions are
M1: [71560x71560]
M2: [71560x23814]
M3: [23814x23814]
The calculation doesnt finish on my personal computer in a time of 12 hours. On my server it isnt finished after 12 hours too. Are there hints or other functions to improve the speed of calculation?
Regards Marc
  6 个评论
Walter Roberson
Walter Roberson 2018-11-5
It is common for sparse divided by sparse to yield a dense matrix, which might lead to a lot of swapping along the way.
Bruno Luong
Bruno Luong 2018-11-5
编辑:Bruno Luong 2018-11-5
"Which kind of information do you want to know?"
Sparseness. Real? Complex? Symmetric? Hermitian? Definite Positive? Who knows else?
For sparse matrix, it is essential to have to correct ordering of unknowns/equations to avoid filling issue when doing inversion, if it's possible.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sparse Matrices 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by