Index exceeds matrix dimensions?? Error in my script..help please?
Show older comments
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..
Accepted Answer
More Answers (1)
Torsten
on 13 Dec 2017
You don't initialize
fi1(1)=0
Best wishes
Torsten.
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!