Analytical graph not in sync with numerical graphs

The graph i got comparing an analytical solution to numerical solution is attached
<<
>>
. However, the correct graph is the one where the graphs are in sync, unlike the one i got. How do i edit my code to get the correct graph? Thanks a lot.

1 comentario

Ameer Hamza
Ameer Hamza el 1 de Mayo de 2018
This does not seem to be a problem with MATLAB but with your equations. I could not find any MATLAB function, which could be producing approximation error.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 1 de Mayo de 2018

Comentada:

el 1 de Mayo de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by