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

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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

질문:

2018년 5월 1일

댓글:

2018년 5월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by