help-octave
[Top][All Lists]
Advanced

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

Re: help with equation


From: c.
Subject: Re: help with equation
Date: Fri, 5 Oct 2012 09:51:09 +0200

On 5 Oct 2012, at 08:42, Juan Pablo Carbajal wrote:

> hi,
> You can try the following.
> 
> 0. Are there singularities in the equation?
> 1. Provide a Jacobian.
> 2. Choose a suitable "integration method"' (for example "bdf").
> 3. Try reducing the time step.
> 
> How to do all this is explained in "help lsode" or "doc lsode".
> 
> If everything fails try the Runge-Kutta integrators in the package
> odepkg available from Octave Forge. Remember, providing Jacobian will
> help the integrator produce better solutions if they exist.

If your equation is very stiff you might also want to try the DASPK solver 
instead of LSODE.
All suggestions by JP still hold if you switch to DASPK.
c.

reply via email to

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