You can set the Absolute or Relative ODE solver tolerances in Matlab with the options structure from an odeset command. But how do I find the default values for the different ODE solvers?


According to the odeset documentation in R2018a,

  • relative tolerance has a default of $10^{-3}$
  • absolute tolerance has a default of $10^{-6}$

You should also be able to see them by running odeset command without any arguments.

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.