Index exceeds matrix dimensions?? Error in my script..help please?
이전 댓글 표시
Hi everyone, I need some help. In the script (that I'll link) I get this error:
Index exceeds matrix dimensions.
Error in Integration (line 28)
fi1(i+1)= fi1(i) + dt*(w-s.*N1(j)*cos(fi1(i)));
and I don't know how and why, can you help me please? Is very important..
채택된 답변
추가 답변 (1개)
Torsten
2017년 12월 13일
You don't initialize
fi1(1)=0
Best wishes
Torsten.
카테고리
도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!