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?(adsbygoogle = window.adsbygoogle || []).push({});

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.

**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!

# Using RK4 with discrete data

Loading...

Similar Threads - Using discrete data | Date |
---|---|

A Numerical solution for a two dimensional 3rd order nonlinear diff. eq. | Jan 17, 2018 |

I Ode using Fourier Transform | Jan 2, 2018 |

I Using Complex Numbers to find the solutions (simple Q.) | Dec 29, 2017 |

A 2nd Order PDE Using Similarity Method | May 14, 2017 |

I What method can be used to solve this pde? | Apr 4, 2017 |

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