[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lsqnonlin optimset display iter

From: hydrantomat
Subject: Re: lsqnonlin optimset display iter
Date: Fri, 24 Jan 2020 01:00:03 -0600 (CST)

Hello GoSim,

thank you for your answer. I tried to add the receiving parameters. Indeed I
got the number of iterations, but what I originally wanted to get was the
output in the command window for every Iteration. This works well with the
following example:


there I get the following.

 Func-count     x          f(x)         Procedure
    1        3.61803    -0.88863        initial
    2        3.23607    -0.99554        golden
    3        3.13571    -0.99998        parabolic
    4        3.14130    -1.00000        parabolic
    5        3.14159    -1.00000        parabolic
    6        3.14159    -1.00000        parabolic

I hope this will also be possible for lsqnonlin, because I need other
options of optimset as well (MaxIter,etc.). And I am not sure they are
working correctly if 'Display' does not.

Thanks in advance

Sent from:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]