Changing solution when using sparsity pattern with ode15s
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi everyone,
I have a short question concering the numerics of ode15s. I'm unsure if I can expect excatly the same results when I use the solver with and without the sparsity pattern option. So does enyone know if the solver performs different operations (when applying the sparsity command), which might lead to a small deviation in the result? Thanks a lot!
Best regards
Carsten
0 Kommentare
Antworten (1)
Rollin Baker
am 13 Apr. 2017
Hi Carsten,
I'm not totally sure if I understand your workflow, but I found a documentation page that details how MATLAB solves non-linear equations using a Jacobian Sparsity Pattern.
If I understand the page correctly, it seems like you may get a different result, but that is somewhat expected when you change solver configurations. I hope this was relevant to you. Good luck!
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!