[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help with adams.m -> lsode conversion

From: John W. Eaton
Subject: help with adams.m -> lsode conversion
Date: Fri, 25 Jul 1997 11:04:46 -0500

On 25-Jul-1997, Haisam K. Ido <address@hidden> wrote:

| I'm trying to convert the adams ODE integrator call in matlab 
| [t_int,x_int] = adams('xprime',[t_k;t_k1],x_in,1e-10);
| In a file called od_main.m (below), to the lsode one below with no success
| [t_int,x_int] = lsode( xprime, x_0, [t_k;t_k1] ); 


  [t_int, x_int] = lsode ("xprime", x_0, [t_k;t_k1]); 

instead (lsode expects the name of the function as a string).  


reply via email to

[Prev in Thread] Current Thread [Next in Thread]