[R-sig-dyn-mod] How to use the ode23tb method to solve ODE in R

John Harrold john.m.harrold at gmail.com
Fri Dec 1 03:11:18 CET 2017


Howdy Peng,

For those who may not be familiar with Matlab, here is the reference for
that solver:

https://www.mathworks.com/help/matlab/ref/ode23tb.html

It says that it's an implementation of the TR-BDF2 algorithm (hence the
tb). A two stage algorithm that uses the trapizodal rule as the first stage
and the backwards difference formula. I don't know enough to really compare
solvers in deSolve or Matlab. If you dig something up please send it my way
:). I think it might be best to figure out what this solver provides for
you and to figure out which deSolve solver will provide that. It's a
stiff/low accuracy solver.

So what are you looking for?
John



On Thu, Nov 30, 2017 at 2:01 PM Peng Zhao <pzhao at pzhao.net> wrote:

> Hello. I am a new user of the R package *deSolve*. I was wondering how to
> use the ode23tb method in R, just like the ode23tb function in Matlab. I
> have posted this question on Stackoverflow
> <
> https://stackoverflow.com/questions/47580477/how-to-convert-matlab-ode23tb-function-to-r
> >
> in detail.
>
> Your kind help would be much appreciated.
>
> Best regards,
>
> Peng
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-dynamic-models mailing list
> R-sig-dynamic-models at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-dynamic-models
>

	[[alternative HTML version deleted]]



More information about the R-sig-dynamic-models mailing list