From help-octave-request at bevo dot che dot wisc dot edu Wed Jan 12 14:36:44 2000 Subject: RE: Fmins From: Heber Farnsworth To: "'Richard Davis'" Cc: "'help-octave at bevo dot che dot wisc dot edu'" Date: Wed, 12 Jan 2000 14:36:40 -0600 There is a function called nmsmax which uses the same algorithm as fmins but maximizes rather than minimizes. It is not part of Octave. You can get it from the Mathworks anonymous ftp site at ftp://ftp.mathworks.com/pub/contrib/v4/optim/dsmax More recent versions can be obtained from the authors web site as part of a toolbox he calls the test matrix toolbox. The web page is http://www.ma.man.ac.uk/~higham/testmat.html The only way in which you would need to change your code is to have nmsmax maximize -f(x) where f(x) is the function you want to minimize. Last time I checked there was also some problem with the ^ versus ~ operator used in that code. Running octave with the --braindead option should take care of it. Alternatively you can edit the code and change the one instance of the matlab operator to the octave one. Heber Farnsworth > -----Original Message----- > From: Richard Davis [mailto:rjdv75 at earthlink dot net] > Sent: Wednesday, January 12, 2000 10:50 AM > To: help-octave at bevo dot che dot wisc dot edu > Subject: Fmins > > > I have some Matlab m-files which call the fmins m-file? Is > fmins supprted > by Octave? > > > > -------------------------------------------------------------- > --------- > Octave is freely available under the terms of the GNU GPL. > > Octave's home on the web: http://www.che.wisc.edu/octave/octave.html > How to fund new projects: http://www.che.wisc.edu/octave/funding.html > Subscription information: http://www.che.wisc.edu/octave/archive.html > -------------------------------------------------------------- > --------- > ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------