Checking condition for every iteration in array

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Checking condition for every iteration in array

Isak lundgren
Hi, Im new at octave and use it as a free substitute for matlab in order to
use eulers method.
I've made the following functions:

Eqn.m <http://octave.1599824.n4.nabble.com/file/t372896/Eqn.m>  
Euler2.m <http://octave.1599824.n4.nabble.com/file/t372896/Euler2.m>  

and call the function using the command:

Euler2(@Eqn, 1, 1, 0.05, 10)

What I need is for the if statement to check the contition for every
iteration in the method, what do i need to edit?



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html