Vary TolX for different parameters

조회 수: 2 (최근 30일)
maurizio
maurizio 2011년 6월 29일
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