Why does odeset RelTol and AbsTol values truncate the results?
1 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
On the attached code, I am trying to use odeset to smoothen the result. When I use 'RelTol' of 1e-2 and 'AbsTol' of 1e-2 I get the following plot:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/204122/image.png)
However, when I use 'RelTol' of 1e-3 and 'AbsTol' of 1e-3 I get the following plot:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/204123/image.png)
How can I smoothen it without truncating.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Function Creation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!