I have a function with the handle @func
with initial condition y0
that I want to test over t = [0, tspan]
. What, exactly, do I need to do to increase the number of time steps ode45
uses, without changing tspan
?
I saw the MATLAB documentation of ode45
and saw that I need to somehow change the options
input to ode45
. However, I do not really understand how to do this because no example code was provided.