"For" loop running partially
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示

this is the question of which part 2 is to be solved. My code is working for 1st for loop, but showing error from the 2nd for loop. The error is as
Unable to perform assignment because the left and right sides have a different number of elements.
Error in Problem_3_4 (line 52)
m2(i+1)=m2(i)+(dt/6)*(k1+(2*(k2+k3))+k4);
Thanks for your help in advance!
3 件のコメント
Prakhar Jain
2018 年 11 月 12 日
Hi Kashfia, Capture.PNG cannot be opened. Please try attaching it again. Thanks.
Stephen23
2018 年 11 月 12 日
@Prakhar Jain: I fixed that for you by putting the image markup onto its own line.
Kashfia Mahin
2018 年 11 月 12 日
回答 (0 件)
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!