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

Using RK4 with discrete data

  1. May 4, 2014 #1
    I am simulating an ODE where the differential function is a function of sampled data points and are having trouble obtaining data in between sampled points (for the step computations of RK4). The first thing that I tried was to linearly interpolate the data, but that introduced large accumulating errors in the simulation. Is there a way to circumvent this?

    One possibility of course, is to use Euler integration with the appropriate step length, but it would be nice to use a higher order scheme if possible.
     
  2. jcsd
  3. May 4, 2014 #2
    Don't bother, just very sensitive regarding step length.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Using RK4 with discrete data
  1. Trouble using RK4 (Replies: 13)

  2. RK4 vs. ABM? (Replies: 3)

  3. Rk4 practical example (Replies: 1)

  4. RK4 Time step question (Replies: 2)

Loading...