MATLAB ODE solver

  1. Anyone have much knowledge on the ODE solvers in matlab? I have an ODE and I want to specificy whether the input is time or the y value for the dy/dt problem.
     
  2. jcsd
  3. f95toli

    f95toli 2,362
    Science Advisor
    Gold Member

    Could you please be more specific.
    You can only have one variable in an ODE and in this case that variable is t, i.e. the equation is

    dy/dt=f(t)

    where f is some function of t (and ONLY of t, otherwise it is a PDE).
    In order to have a single solution to this ODE you then only need the initial value of y at time 0, i.e. y(0).
     
  4. Cool thanks I think thats what I was looking for.
     
Know someone interested in this topic? Share a link to this question via email, Google+, Twitter, or Facebook

Have something to add?