[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: complex line integral in octave
From: |
c. |
Subject: |
Re: complex line integral in octave |
Date: |
Tue, 16 Apr 2013 11:34:59 +0200 |
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.
the recommended way of doing this is by using a specialized anonymous
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.
- complex line integral in octave, Urs Hackstein, 2013/04/11
- Re: complex line integral in octave, Stephen Montgomery-Smith, 2013/04/11
- Re: complex line integral in octave, Urs Hackstein, 2013/04/12
- Re: complex line integral in octave, Stephen Montgomery-Smith, 2013/04/12
- Re: complex line integral in octave, Urs Hackstein, 2013/04/15
- Re: complex line integral in octave, Stephen Montgomery-Smith, 2013/04/15
- Re: complex line integral in octave, Stephen Montgomery-Smith, 2013/04/15
- Re: complex line integral in octave, Urs Hackstein, 2013/04/16
- Re: complex line integral in octave, Stephen Montgomery-Smith, 2013/04/16
- Re: complex line integral in octave,
c. <=
- Re: complex line integral in octave, Urs Hackstein, 2013/04/16
- Re: complex line integral in octave, Stephen Montgomery-Smith, 2013/04/16
- Re: complex line integral in octave, c., 2013/04/16