PDA

View Full Version : Error question


bredjen
3 Aug 2007, 8:52pm
Just wondering if someone could explain what the "RelTol" and "AbsTol" options for the ODE solvers actually do. And please tell me in layman's terms because I really don't know Matlab that well. Thanks!

shwaip
4 Aug 2007, 2:31am
never used it, but my guess is:

absolute tolerance has to do with the absolute error: if the actual value is 0.001, then absolute tolerance says how close you have to be to 0.001

relative tolerance has to do with a ratio of the error to the actual value: if the total error is 0.0001, this is very close if the actual value is 1, but inaccurate if the value is 0.00001