help-octave
[Top][All Lists]
Advanced

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

Re: ode45 for coupled system (2nd order ODE)


From: Jordi Gutiérrez Hermoso
Subject: Re: ode45 for coupled system (2nd order ODE)
Date: Fri, 9 Nov 2012 10:32:47 -0500

On 9 November 2012 09:29, Joza <address@hidden> wrote:
> Hi guys. I haven't used ode45 before, so I was hoping to get some help here
> regarding its use.
>
> I want to solve a coupled system, namely dy2/dt = -sin(y1) and dy1/dt = y2.
>
> ode45 will solve this for me for y1 as a function of t, that's nice.

Btw, I know Matlab users are taught to use ode45 as the default ODE
solver, but in Octave there is also lsode. Its interface is similar to
ode45, but it can usually handle a wider class of problems.

- Jordi G. H.


reply via email to

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