Index exceeds matrix dimensions?? Error in my script..help please?
Afficher commentaires plus anciens
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..
Réponse acceptée
Plus de réponses (1)
Torsten
le 13 Déc 2017
You don't initialize
fi1(1)=0
Best wishes
Torsten.
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!