- #1
bnsm
- 6
- 0
Hi guys,
I want to run a for cycle with ode45 inside. However, some parameters that I define in odefun (the differential equation in order to dy/dt, for instance) assume different values in each iteration of that cycle.
I find help examples showing odefun only receiving t and y... Is there any way to add more input parameters to odefun?
Thanks!
I want to run a for cycle with ode45 inside. However, some parameters that I define in odefun (the differential equation in order to dy/dt, for instance) assume different values in each iteration of that cycle.
I find help examples showing odefun only receiving t and y... Is there any way to add more input parameters to odefun?
Thanks!