help-octave
[Top][All Lists]
Advanced

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

[Fwd: Re: usage of inline and fminbnd]


From: Geordie McBain
Subject: [Fwd: Re: usage of inline and fminbnd]
Date: Thu, 15 Feb 2007 09:38:33 +1100

(returning this to the help-octave list)

-------- Forwarded Message --------
From: Chris Zarowski <address@hidden>
To: Geordie McBain <address@hidden>
Subject: Re: usage of inline and fminbnd
Date: Wed, 14 Feb 2007 07:46:58 -0500

Hi. I Get an invalid vector index (Octave 2.1.73
under Windows XP).

Chris Z

----- Original Message ----- 
From: "Geordie McBain" <address@hidden>
To: "Chris Zarowski" <address@hidden>
Sent: Tuesday, February 13, 2007 11:53 PM
Subject: Re: usage of inline and fminbnd


> 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
>> https://www.cae.wisc.edu/mailman/listinfo/help-octave
> -- 
> Geordie McBain
> www.aeromech.usyd.edu.au/~mcbain
> 
>
-- 
Geordie McBain
www.aeromech.usyd.edu.au/~mcbain




reply via email to

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