why use solver ode23tb(stiff/TR-BDF2) instead ode45(Dormand-Prince)? Thanks anyway :)
Show older comments
Hi.why we use solver ode23tb(stiff/TR-BDF2) instead ode45(Dormand-Prince)? Thanks anyway :)
Answers (2)
Star Strider
on 9 Dec 2016
0 votes
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
on 9 Dec 2016
0 votes
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.
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!