Thanks Jaroslav. Works great.
--- On Tue, 15/12/09, Jaroslav Hajek <address@hidden> wrote:
From: Jaroslav Hajek <address@hidden> Subject: Re: Function handles in SQP To: "Mike B." <address@hidden> Cc: address@hidden Date: Tuesday, 15 December, 2009, 5:26 PM
On Tue, Dec 15, 2009 at 6:30 AM, Mike B. <address@hidden> wrote:
Hi All,
I want to use the SQP function for minimization. SQP takes a function handle (@phi) pointing to the function to minimize. Is it possible to pass several arguments to the function handle when using SQP? (I know it is possible in general).
|
Yes. Use an anonymous function. -- RNDr. Jaroslav Hajek computing expert & GNU Octave developer Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic url: www.highegg.matfyz.cz
|