Hi guys,(adsbygoogle = window.adsbygoogle || []).push({});

I want to run aforcycle 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!

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Matlab ode solver

Loading...

Similar Threads - Matlab solver | Date |
---|---|

Matlab Pdepe solver for diffusion equation in a packed column | Mar 30, 2016 |

Matlab ode solvers - adding a separate convergence criteria | Dec 10, 2015 |

Polymath or Matlab non-linear algebraic solver | Oct 11, 2013 |

How to use Matlab ODE solver events to stop an integration | May 16, 2012 |

Matlab ODE solvers: inconsistent time vector output | Sep 25, 2010 |

**Physics Forums - The Fusion of Science and Community**