[Scilab-users] unable to find my mistake in the function

Jean-Yves Baudais Jean-Yves.Baudais at insa-rennes.fr
Tue Jun 6 11:06:08 CEST 2017


Hallo,

Le 06/06/2017 à 10:27, Sachverständigenbüro Niedermaier Holger a écrit :
> may anybody be able to explain why I get the error message "invalid index in line 12“ by running the following function?
> 
> [...]  Energie(n)=Energie(n)+y(i)*y(i)*schrittweite*10^(-3);


Maybe because the vector "Energie" is used but not defined so the index 
is not valid.

Jean-Yves



More information about the users mailing list