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!