error in Euler method
이전 댓글 표시
. could you please, check my code I did not get as the following pic.
for i=1:length(T)-1
x1(i+1)=x1(i)+dX1*h;
x2(i+1)=x2(i)+dX2*h;
v1(i+1)=v1(i)+dX3*h;
v2(i+1)=v2(i)+dX4*h;
end
댓글 수: 2
James Tursa
2018년 10월 17일
Closing your question and deleting your code and comments is not appreciated on this forum since it does not help anyone else later on. Please keep your questions and comments intact for everyone to see. Thanks.
Momo
2018년 10월 17일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!