Symbolic Inverse of large matrix

3 Ansichten (letzte 30 Tage)
Hasan Hassoun
Hasan Hassoun am 3 Feb. 2021
Kommentiert: Hasan Hassoun am 3 Feb. 2021
Hello,
I want to inverse the attached matrix for N=50 (50*50). w is the only symbolic while other parameters are defined. Can I speed the inverse for such a case?

Akzeptierte Antwort

John D'Errico
John D'Errico am 3 Feb. 2021
Bearbeitet: John D'Errico am 3 Feb. 2021
Sorry, but not really.
It does not matter how big or how fast our computers get. There will always be somebody who wants to compute something that is imposssibly large and complex, and is amazed that their computer cannot do it faster. Because, after all, compouters are just so incredibly fast, they can do anything. And there is always some trick.
If it were true that your matrix elements has some really simple pattern, like all the diagonal elements were all constant, at some value, then you could probably do something. But the elements of this matrix all vary subtly as you go down the diagonal. And that means you will end up with some large, nasty computations.
Sometimes the magic just does not happen. The best way to speed it up is to get a bigger, faster computer. ANd get a large cup of coffee while you wait.
  2 Kommentare
Hasan Hassoun
Hasan Hassoun am 3 Feb. 2021
Ok, thank you!
Hasan Hassoun
Hasan Hassoun am 3 Feb. 2021
Can the inverse of sparse works in the above matrix? Since the diagonal+1 and diagonal-1 are the same and all other elements are zero.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by