Dr.mark
Dr.mark

Reputation: 49

Can I find ode23, ode45, and ode113 solvers in Scilab?

Can I find ode solvers (ode23, ode45, and ode113) in Scilab? I use these solvers in MATLAB, but I have no idea if there is the same option in Scilab or not. Thanks in advance.

Upvotes: 1

Views: 268

Answers (1)

Lutz Lehmann
Lutz Lehmann

Reputation: 25992

Did you try the search function? The answer in Convert ode45() to scilab should give an idea, even if RKF is not DoPri5.

Read the documentation on the other available steppers.

  • The default stepper without type parameter uses lsoda, which can be seen as comparable to ode113
  • With "stiff" you get lsode, which is approximately equivalent to ode15s.
  • "adams" could substitute for ode23, there are no explicit low-order methods available, so adaptive-step and order Adams-Bashford is the best you get for a fast integration. And, as mentioned,
  • "rkf" is an embedded explicit 4(5) method that can substitute for the embedded explicit (4)5 Dormand-Prince method of ode45.

There exist more modern solvers and step-size heuristics, using dense output, an advanced event "root->action" mechanism etc. Scilab is not alone in having a stalled development in this regard. The default is good enough for small projects and prototyping, for massive number-crunching use a compiled language.

Upvotes: 1

Related Questions