The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: termination for function:lsqnonlin
Replies: 2   Last Post: Apr 5, 2013 3:03 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Toan Cao

Posts: 55
Registered: 10/15/10
termination for function:lsqnonlin
Posted: Apr 4, 2013 10:23 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi everyone,

I am using function "lsqnonlin" for optimization process in which "Levenberg-Marquardt" algorithm is chosen.
Given a cost function F, if i would like to terminate optimization process and use following equation:
|F(k) - F(k-1)| < alpha*(1+F(k)), where F(k) is cost function value at iteration k

How can i set up this option for the function "lsqnonlin"?
Thanks so much for your advice.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.