ODE solvers and multiple tspans
显示 更早的评论
I have a model which i use one of the odesolvers to simulate. I would like to do a comparison of the results so that I can determine the differences between the solvers. Since you do not have control of the time steps chosen be the mode I thought the way to do this would be to choose a tspan with more that two entries and run the calculation.
This seems to work for ode113 and ode45 but not for ode23tb. does anyone know why ode23tb seems to ignore the tspan I am providing?
采纳的回答
更多回答(1 个)
Jan
2012-2-16
0 个投票
The documentation tells, that ode23tb handles tspan exactly as the other integrators.
Are you sure to call the integrator with the correct syntax? Does "ode23tb seems to ignore" mean, that you are not sure?
类别
在 帮助中心 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!