Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matlab ode solver

  1. Feb 16, 2010 #1
    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?

  2. jcsd
  3. Feb 17, 2010 #2
    Anyone?... :smile:
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook