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

1 次查看(过去 30 天)
Hi.why we use solver ode23tb(stiff/TR-BDF2) instead ode45(Dormand-Prince)? Thanks anyway :)

回答(2 个)

Star Strider
Star Strider 2016-12-9
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 2016-12-9
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.

类别

Help CenterFile Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by