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!