我想了解以下Matlab的定義,RELTOL和AbsTol參數:相對和絕對容差定義求解
RelTol — This tolerance is a measure of the error relative to the size of each solution component. Roughly, it controls the number of correct digits in all solution components, except those smaller than thresholds AbsTol(i).The default, 1e-3, corresponds to 0.1% accuracy. AbsTol — AbsTol(i) is a threshold below which the value of the ith solution component is unimportant. The absolute error tolerances determine the accuracy when the solution approaches zero.
我不明白爲什麼AbsTol判斷是否對精度當溶液接近零(事實上,如果我的問題的解決方案是一個7000公里半徑的圓形軌道,則不符合它),並且爲什麼RelTol控制所有解決方案組件中的正確數字的數量,除了小於閾值AbsTol(i)的那些。什麼是確定每個容差的實際表達式?我想得到更簡單易懂的定義。
謝謝你的回答。我仍然有一些疑問:爲什麼RelTol控制解決方案中的正確數字的數量?如果任何解決方案組件小於AbsTol,我如何控制該數字的正確數字? – julian