Re: lsqcurvefit



John D'Errico wrote:


In article <ef38f5d.-1@xxxxxxxxxxxxxxxxxxxxxxx>, "Stefano
Mangosio"
<sisco1@xxxxxx> wrote:

Hi all,

I'm using lsqcurvefit to fit a model, I like to know if it's
possible
and how to do to follow the parameter evolution for each step
of
the
fit optimization.

Thank you

Stefano

Dump the parameters to the command line at each
call to your objective.

Or if you wish a bit more sophistication, supply
an outputfcn that does it.

Finally, you can just pass in optimset('disp','iter')
as the options structure, to get some feedback.

HTH,
John D'Errico


--
The best material model of a cat is another, or preferably the
same, cat.
A. Rosenblueth, Philosophy of Science, 1945

Those who can't laugh at themselves leave the job to others.
Anonymous



Thank you, but the optimset('display'); doesn't show what I want to
see. You say to dump but it dump only the last step. The lsqcurvefit
method loop automatically, how can I go inside this automatic loop
and dump each step????
.



Relevant Pages

  • Re: LIVEDUMP
    ... I'll just edit an empty file and load the dump. ... John Keiser ... "Vowing he'd ne'er consent, consented". ... Of course if we are looking at arithmetic data, octal is the way to go. ...
    (comp.sys.unisys)
  • Re: at 3:30AM it hit!
    ... I took a crap. ... The dump of dumps. ... John H ... Not everybody is such a fat slob that they need mechanical help. ...
    (rec.boats)
  • Re: at 3:30AM it hit!
    ... harry, you already did. ... I took a crap. ... The dump of dumps. ... John H ...
    (rec.boats)
  • Re: How do I dump a database to a local file on Windows?
    ... >You need to dump the database to the Unix and then ftp to your PC. ... >For handling the File system from ASE, you need have a licence feature ... >of ASE which allows that. ... John Brock ...
    (comp.databases.sybase)
  • Re: Elton
    ... Thank god you had the common sense to dump ... John not-so-long. ... Have you returned the orange crate he used to have ...
    (rec.arts.drwho)