Symbolic inverse of large matrices

3 ビュー (過去 30 日間)
Ari
Ari 2017 年 8 月 4 日
回答済み: Walter Roberson 2017 年 8 月 4 日
I have a system of differential equations in mass matrix form: M*x_dot = F and I want to find out the solution. In my case M and F are nonlinear and contain symbolic variables. Using M\F or inv(M)*F takes too long to compute. Is there a faster way to solve this problem?

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 8 月 4 日
No, symbolic computation like that often takes a long long time; it becomes completely impractical with even fairly moderately sized matrixes (e.g, 35 x 35 is much too much.)
You can really only make improvements in the computation if M is (truly) sparse, or if M has special properties such as being tri-diagonal. The inverse of a sparse symbolic matrix is generally dense, but the length of the expressions get cut way way down if there are a lot of 0s.

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by