why use solver ode23tb(stiff/TR-BDF2) instead ode45(Dormand-Prince)? Thanks anyway :)

4 vues (au cours des 30 derniers jours)
afiqah cwj
afiqah cwj le 9 Déc 2016
Hi.why we use solver ode23tb(stiff/TR-BDF2) instead ode45(Dormand-Prince)? Thanks anyway :)

Réponses (2)

Star Strider
Star Strider le 9 Déc 2016
In a stiff problem, ode45 just gets stuck and seems to loop infinitely. The choice of ‘stiff’ solver depends on the particular problem.

Steven Lord
Steven Lord le 9 Déc 2016
Take a look at this post from Cleve's blog. If you don't want to read through the whole thing, scroll down to the "Stiffness in action" section where Cleve comments "(If you run only one example, run this one.)" and run that example.

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by