필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

"For" loop running partially

조회 수: 1 (최근 30일)
Kashfia Mahin
Kashfia Mahin 2018년 11월 4일
마감: MATLAB Answer Bot 2021년 8월 20일
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
Stephen23
Stephen23 2018년 11월 12일
@Prakhar Jain: I fixed that for you by putting the image markup onto its own line.
Kashfia Mahin
Kashfia Mahin 2018년 11월 12일
I have already solved it. Thanks for offering help

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by