Hello,
I'm trying to solve a differential non linear equation with very high values (each constant is like 10^-20 or 10^20 or even more). And i got problems of tolerances. I've tried that :
options=odeset('RelTol',1e-30,'AbsTol',1e-30)xvalues=30:200;[x,y]=ode45('fun',xvalues,1, options)
Where the function is, as i told you, with very big values (for example, a term with exp(x)…)
""Warning: RelTol has been increased to2.22045e-14. Warning: Failure at t=3.000000e+01. Unableto meet integration tolerances withoutreducing the step size below the smallestvalue allowed (1.136868e-13) at time t. ""
If you have any idea, help me !!!
Thank you
Fred
Best Answer