From help-octave-request at bevo dot che dot wisc dot edu Sun Jan 13 10:06:41 2002 Subject: Re: fzero and fmins From: Etienne Grossmann To: help-octave at bevo dot che dot wisc dot edu, rene.rebe@gmx.net CC: etienne at isr dot ist dot utl dot pt Date: Sun, 13 Jan 2002 16:11:05 +0000 Hello, From: Rene Rebe # Hi. # # I just started to use octave (because of Matlab in the university ...) # - so some very stupid first try question: # # I'm missing the fzero and fmin function (when I remember right fmin # got renamed to fminsearch in newer Matlab versions ...). Is there some # nearly equvalent replacement for them in octave? There is no fmin, but I wrote a few minimization functions, which, until I upload them to octave-forge (*) (http://octave.sf.net), you can find at : http://www.isr.ist.utl.pt/~etienne/octave/uc_optim-2001.07.16.tar.gz The functions I provide are for unconstrained minimization : Without derivatives : Nelder-Mead (function "nelder_mead_min"). With first derivatives : Conjugate Gradient (function "cg_min"). With first and second derivatives : Newton-like method (function "d2_min"). A wrapper for the three functions above : the "minimize" function. As you can see, none is really like fmins, but they will minimize in multidimensional spaces. Hth, Etienne (*) octave-forge has a 'fmin' function. ------------------------------------------------------------- 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 -------------------------------------------------------------