[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Subfunctions in Octave
From: |
Keith Goodman |
Subject: |
Re: Subfunctions in Octave |
Date: |
Fri, 10 Mar 2006 12:24:58 -0800 |
On 3/10/06, Brad Bell <address@hidden> wrote:
> Is the subfunction capability supported by Ocatave and if so, where is it
> specified (documented) ?
Yes, Octave supports subfunctions. Go ahead and try it.
I don't know of any documentation. But if you run into any problems
ask on this list.
Basic example:
function y = fx(x)
y = fxsub(x);
function y = fxsub(x)
y = 3*x;
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------