Vary TolX for different parameters

2 views (last 30 days)
Dear all,
is it possible to define different TolX to be used with ode15s, for different parameters?
In my code, I solve for a system of ODEs, and I would like to use larger TolX for a certain parameters, which converges slower than the others, but has a low sensitivity on the result.
is it possible to give a vector TolX = [1e-4 1e-2 1e-4], instead of a single value?
thanks and regards
Mauri

Accepted Answer

Daniel Shub
Daniel Shub on 29 Jun 2011
It might be possible ...
A simpler work around would be to scale your parameter so the scaled parameter no longer has a low sensitivity.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!