[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DAE solver with additional parameters
From: |
c. |
Subject: |
Re: DAE solver with additional parameters |
Date: |
Thu, 3 Jul 2014 07:01:28 +0200 |
On 3 Jul 2014, at 06:30, Tatsuro MATSUOKA <address@hidden> wrote:
> Perhapsthere is a typo.
> The function should be
>
> function res = f (x, xdot, t, a, b, c)
> res = xdot + (a * b * c) * x;
> endfunction
>
>
> The sentence "global a b c" is not required if one use anonymous function.
>
> Tatsuro
yes, sorry, that was just a copy-paste between the two examples.
c.