title: Matlab ode45 vs. ode23, different solutions
body: <p>I used <code>ode45</code> and <code>ode23</code> for a set of non-stiff differential equations. However, both methods converge to a slightly different solution. How can I find out which one is correct? See attached plot where blue is <code>ode45</code>, red is <code>ode23</code>. The dashed lines are the final values for each solver. Also, <code>ode15s</code> is a bit different (less than 1 m)...</p>
  
  <p><a href="https://i.stack.imgur.com/wZuL4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wZuL4.png" alt="enter image description here"></a></p>