Vary TolX for different parameters

6 次查看(过去 30 天)
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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by