|
From: | Urs Hackstein |
Subject: | Re: complex line integral in octave |
Date: | Tue, 16 Apr 2013 17:12:53 +0200 |
the recommended way of doing this is by using a specialized anonymous
On 16 Apr 2013, at 00:02, Stephen Montgomery-Smith <address@hidden> wrote:
> This is a programming issue, not mathematics. If you look at "help
> quad" you will see that the function takes only one parameter. The
> other parameters, La,Lb,Lc,Ia,Ib,Ic,RC, will have to be passed in some
> other manner. My suggestion would be to use global variables.
function rather than global variables, i.e. something like:
function g1=complexfunction1(La,Lb,Lc,Ia,Ib,Ic,RC,t)
...
endfunction
qaud (@(t) complexfunction1(La,Lb,Lc,Ia,Ib,Ic,RC,t), tmin, tmax)
c.
[Prev in Thread] | Current Thread | [Next in Thread] |