I am using ode15s to solve a set of differential equation on the form M(t,y)dy/dt = f(t,y). Due to the way I have formulated my ode's now, I need to use the time step from ode15s inside the function f(t,y). As far as I can see, I only have access to the present time 't' when ode15s is working, but is there any way to work around this so I can use the time step dt?
1 Comment
Direct link to this comment
https://ww2.mathworks.cn/matlabcentral/answers/109267-use-the-time-step-within-ode15s#comment_771958
Direct link to this comment
https://ww2.mathworks.cn/matlabcentral/answers/109267-use-the-time-step-within-ode15s#comment_771958
Sign in to comment.