[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: usage of inline and fminbnd

From: Geordie McBain
Subject: Re: usage of inline and fminbnd
Date: Wed, 14 Feb 2007 16:03:20 +1100

Try using function handles instead of inline.  I've slightly modified
your script and it works for me on 2.9.9.

On Tue, 2007-02-13 at 15:29 -0500, Chris Zarowski wrote:
> Hello.
> I cannot figure out how to use fminbnd (Golden section
> search minimizer).
> The problem is that I cannot pass a constant 
> parameter.
> In the attached script I want to minimize f(x,b)
> w.r.t x on interval [0,fp], but I need to vary f according
> to constant b.
> Thanks in advance,
> Chris Z
> _______________________________________________
> Help-octave mailing list
> address@hidden
Geordie McBain

Attachment: gaussmono.m
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]