Why does odeset RelTol and AbsTol values truncate the results?

2 visualizaciones (últimos 30 días)
Dursman Mchabe
Dursman Mchabe el 14 de Feb. de 2019
Editada: Dursman Mchabe el 14 de Feb. de 2019
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:
However, when I use 'RelTol' of 1e-3 and 'AbsTol' of 1e-3 I get the following plot:
How can I smoothen it without truncating.

Respuestas (0)

Categorías

Más información sobre Function Creation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by