MATLAB Answers

Sparse of symbolic matrix

55 ビュー (過去 30 日間)
Hasan Hassoun
Hasan Hassoun 2021 年 2 月 11 日
コメント済み: Hasan Hassoun 2021 年 2 月 11 日
Hello,
I have a matrix that contains a lot of zero elements and some elements are symbolic. I aim to compute its inverse. It's possible to find the "sparse" of a symbolic matrix to speed the computation of inverse?

採用された回答

John D'Errico
John D'Errico 2021 年 2 月 11 日
Sorry, but NO.
Sparse storage does not applly to symbolic matrices. Even if it did, this would virtually not help you to speed things up by more then a fraction of a millisecond. The computation bottleneck with symbolic problems is a huge one, but it comes down to the huge complexity of the terms that you generate. And that is true even for small matrices, where sparse storage would be a complete waste of time. In fact, trying to use sparse here, even if it was possible, would actually slow things down if anything.
So sorry, but no. Sparse would be a waste of effort.
  1 件のコメント
Hasan Hassoun
Hasan Hassoun 2021 年 2 月 11 日
Ok, thank you.

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by