solve large sparse jacobian matrix (with an example)
Ältere Kommentare anzeigen
Hello Community,
do you have a good suggestion if an iterative solver would be faster.
This jacobian J with ( N = 32 ) took me around 1s of solving this equation x=J\y. The matrix is saved as sparse, and the density is around 3%.
( For N=64 the density ia about 1,6% and solving that matrix cost me about 50s. So the scaling is really bad)
The Dimensions of this matrix J are scaling with (3*(N+1)^2+(N-1)^2,3*(N+1)^2+(N-1)^2).
my desired N will be in the order of 128- 192.

1 Kommentar
J. Alex Lee
am 8 Jan. 2021
maybe you can invoke more specific solvers to specify properties of the matrix, though i'm not too knowledgeable in the area.
another comment which may or may not be relevant is that i wonder if your matrix can be permuted a priori into a structure that's more amenable to solvers (again not terrible knowledgeable in the area...)
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Mathematics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!