Index exceeds matrix dimensions?? Error in my script..help please?
Ältere Kommentare anzeigen
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..
Akzeptierte Antwort
Weitere Antworten (1)
Torsten
am 13 Dez. 2017
You don't initialize
fi1(1)=0
Best wishes
Torsten.
Kategorien
Mehr zu Matrix Indexing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!