[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Differential Equation
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: Differential Equation |
Date: |
Fri, 14 Nov 2008 18:26:54 -0600 |
2008/11/14 William Christopher Carleton <address@hidden>:
> octave:1>function osc=f(x,t);
>> osc = -1.01*x;
>> endfunction
[snip]
> octave:4> x=lsode("f",x0,t)
> What have I done incorrectly? Thanks,
Look at the documentation for lsode (help lsode). You're solving the
system x' = -1.01x. Does this help?
- Jordi G. H.