help-octave
[Top][All Lists]
Advanced

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

How to get LSODE not to display ISTATE


From: John W. Eaton
Subject: How to get LSODE not to display ISTATE
Date: Sun, 29 Mar 2009 19:00:25 -0400

On 28-Mar-2009, Samuel H. Dupree, Jr. wrote:

| I'm running Octave version 3.0.3 on a Mac G4 PowerPC under Mac OS 10.4.11.
| 
| I'm writing an application in Octave to numerically integrate the orbits 
| of the planets of the solar system, the moon's orbit, the moon's  
| orientation (its Euler angles), and the sun's orbit about the solar 
| system barycenter; a total of 72 first order differential equations. In 
| using LSODE to solve the differential equations, it appears that the 
| value of ISTATE for each equation is output to stdout.
| 
| My question is, how can I turn this display output off? I didn't see any 
| discussion concerning the display of ISTATE by LSODE in reviewing the 
| documentation (both the web version of the manual and the version 3 
| hardcopy).
| 
| Any ideas?

I don't see ISTATE when I call lsode with something like

  function xdot = f (x, t)
    xdot = 1 - x;
  endfunction

  [x, istate, msg] = lsode (@f, 0, 0:0.1:5);

How are you calling lsode?

jwe


reply via email to

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