From: Chanpreet on 18 May 2010 07:35 I am a student in a university. I am new to matlab and I am using fminsearch for optimization of certain parameters for my project. The problem is that I need the minimum value of the function after every iteration or in other way I need to store the minimum value of optimized functions after every iteration stored in the form of matrix. In thesame way I also need all the optimized parameters after every iteration store in the form of matrix. i have tried loops in the fminserach file but nothing is working. I have used the options but the problem is that I am not getting all values at once because for each iteration there is result(near about 1 a4 sheet) from some old program printed on the command window and I cant control that as it is blackbox for me. i hope that someone can help me
From: Alan Weiss on 18 May 2010 12:36 Take a look at both iterative display options and output function as described in this thread: http://www.mathworks.com/matlabcentral/newsreader/view_thread/282020#744979 The post there concerns simulannealbnd, but fminsearch has similar properties and options. Alan Weiss MATLAB mathematical toolbox documentation On 5/18/2010 7:35 AM, Chanpreet wrote: > I am a student in a university. I am new to matlab and I am using > fminsearch for optimization of certain parameters for my project. > The problem is that I need the minimum value of the function after every > iteration or in other way I need to store the minimum value of optimized > functions after every iteration stored in the form of matrix. In thesame > way I also need all the optimized parameters after every iteration store > in the form of matrix. i have tried loops in the fminserach file but > nothing is working. > I have used the options but the problem is that I am not getting all > values at once because for each iteration there is result(near about 1 > a4 sheet) from some old program printed on the command window and I cant > control that as it is blackbox for me. > > i hope that someone can help me
|
Pages: 1 Prev: Triangle wave generation Next: matlabpool onen only 4 labs on server with 2 xenon proccesor |