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: adding numerical gradient to fminunc
Replies: 3   Last Post: Jan 7, 2013 9:24 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Alan Weiss

Posts: 1,430
Registered: 11/27/08
Re: adding numerical gradient to fminunc
Posted: Jan 7, 2013 7:57 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 1/6/2013 11:33 AM, Olya wrote:
> Hi,
> I am using fminunc to optimize very complicated function. It is
> impossible to provide analytical gradient, and without any gradient
> fminunc doesn't converge to the minimum.
> So, the idea is to "help" Matlab in calculation of numerical gradient.
> Has anyone done this before?
> Additional question:
> How can I learn, how fminunc calculates step size for each iteration?
> Is it possible to calculate step size BEFORE I know the gradient?
> Thanks,
> Olya

Perhaps you are optimizing a simulation. For suggestions, see

To read about the fminunc algorithms, see

Alan Weiss
MATLAB mathematical toolbox documentation

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.