Thanks for the pointer. I put a version of fminbnd.m into Agora Octave
http://agora.panocha.org.mx/snippet/yjOe/ , titled "fminbnd with
parameters". This is exactly the same code I couldn't get to run the other
day because it kept giving a print_usage message. With no changes other
than a couple of days and maybe a reboot of my machine, it works perfectly.
Any explanation for that? Example call:
p=fminbnd('test',0,10,optimset,1,2)
Function "test" is:
function obj=test(in,p1,p2)
obj=(in-p1)^2+(in-p2)^4
This might be useful as an upgrade to Octave's fminbnd, as version
3.4.3rc0's fminbnd does not accept parameters.
--
Bob Walton
On Tue, Oct 25, 2011 at 12:15 PM, Juan Pablo Carbajal
<carba...@ifi.uzh.ch>wrote:
> Hi,
> Do not register. Just use the snippet section to post you code.
>
> JPi
>
> ...
>
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev