Prev: hi
Next: How to find 1s between 0s at the odd positions and 0s at the even positions without loop
From: Muhammad on 23 Feb 2010 00:28 Hello, Say I have a Rosenbrock function (n=2) and I want to see each iteration when I use fminsearch(ros,x0) How can I do that? Thanks
From: Alan Weiss on 23 Feb 2010 07:45 Muhammad wrote: > Hello, > > Say I have a Rosenbrock function (n=2) and I want to see each iteration > when I use fminsearch(ros,x0) > > How can I do that? > > Thanks Set the Display option to 'iter', as shown in http://www.mathworks.com/access/helpdesk/help/techdoc/math/f2-14970.html#f2-23135 Alan Weiss MATLAB mathematical toolbox documentation
From: James Allison on 23 Feb 2010 09:48 The quickest way to see a plot of this is to type bandem at the command prompt, then click simplex. Or, to have more control, you could specify a plot function ('PlotFcns' with optimset). -James Alan Weiss wrote: > Muhammad wrote: >> Hello, >> >> Say I have a Rosenbrock function (n=2) and I want to see each >> iteration when I use fminsearch(ros,x0) >> >> How can I do that? >> >> Thanks > Set the Display option to 'iter', as shown in > http://www.mathworks.com/access/helpdesk/help/techdoc/math/f2-14970.html#f2-23135 > > > Alan Weiss > MATLAB mathematical toolbox documentation
From: Muhammad on 24 Feb 2010 11:36 James Allison <james.allison(a)mathworks.com> wrote in message <hm0prb$qc7$1(a)fred.mathworks.com>... > The quickest way to see a plot of this is to type bandem at the command > prompt, then click simplex. Or, to have more control, you could specify > a plot function ('PlotFcns' with optimset). > > -James > > Alan Weiss wrote: > > Muhammad wrote: > >> Hello, > >> > >> Say I have a Rosenbrock function (n=2) and I want to see each > >> iteration when I use fminsearch(ros,x0) > >> > >> How can I do that? > >> > >> Thanks > > Set the Display option to 'iter', as shown in > > http://www.mathworks.com/access/helpdesk/help/techdoc/math/f2-14970.html#f2-23135 > > > > > > Alan Weiss > > MATLAB mathematical toolbox documentation Thanks a lot. Your recommendations helped me a lot. I've done it.
|
Pages: 1 Prev: hi Next: How to find 1s between 0s at the odd positions and 0s at the even positions without loop |